Thu Dec 10 16:17:55 2020 UTC ()
ocaml: remove references to non-existent files


(wiz)
diff -r1.138 -r1.139 pkgsrc/lang/ocaml/Makefile

cvs diff -r1.138 -r1.139 pkgsrc/lang/ocaml/Makefile (expand / switch to unified diff)

--- pkgsrc/lang/ocaml/Makefile 2020/12/09 10:33:04 1.138
+++ pkgsrc/lang/ocaml/Makefile 2020/12/10 16:17:55 1.139
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile,v 1.138 2020/12/09 10:33:04 jaapb Exp $ 1# $NetBSD: Makefile,v 1.139 2020/12/10 16:17:55 wiz Exp $
2 2
3.include "Makefile.common" 3.include "Makefile.common"
4 4
5#CONFIGURE_ENV+= disable_x11=yes 5#CONFIGURE_ENV+= disable_x11=yes
6 6
7BUILD_TARGET= world 7BUILD_TARGET= world
8TEST_PROGRAM= ocamltest 8TEST_PROGRAM= ocamltest
9MAKE_JOBS_SAFE= no 9MAKE_JOBS_SAFE= no
10UNLIMIT_RESOURCES= stacksize 10UNLIMIT_RESOURCES= stacksize
11 11
12USE_TOOLS+= bash 12USE_TOOLS+= bash
13USE_LANGUAGES+= c 13USE_LANGUAGES+= c
14USE_LIBTOOL= yes 14USE_LIBTOOL= yes
@@ -83,31 +83,26 @@ PLIST.instrumented_runtime= yes @@ -83,31 +83,26 @@ PLIST.instrumented_runtime= yes
83# is what ${SH} is on SunOS, doesn't exhibit this behaviour. 83# is what ${SH} is on SunOS, doesn't exhibit this behaviour.
84.if ${OPSYS} == "SunOS" 84.if ${OPSYS} == "SunOS"
85INSTALL_MAKE_FLAGS+= SHELL=${SH:Q} 85INSTALL_MAKE_FLAGS+= SHELL=${SH:Q}
86.endif 86.endif
87 87
88#INSTALLATION_DIRS= ${PKGMANDIR}/man1 88#INSTALLATION_DIRS= ${PKGMANDIR}/man1
89 89
90OPSYSVARS+= EXTRA_RT_LIBS 90OPSYSVARS+= EXTRA_RT_LIBS
91EXTRA_RT_LIBS.NetBSD= -lcurses 91EXTRA_RT_LIBS.NetBSD= -lcurses
92EXTRA_RT_LIBS.*= 92EXTRA_RT_LIBS.*=
93 93
94PRINT_PLIST_AWK+= { gsub(/lib\/ocaml\/${PKGMANDIR:S|/|\\/|}/, "lib/ocaml/$${PKGMANDIR}"); } 94PRINT_PLIST_AWK+= { gsub(/lib\/ocaml\/${PKGMANDIR:S|/|\\/|}/, "lib/ocaml/$${PKGMANDIR}"); }
95 95
96.if defined(PLIST.instrumented_runtime) 
97REPLACE_BASH+= tools/ocaml-instr-graph 
98REPLACE_AWK+= tools/ocaml-instr-report 
99.endif 
100 
101do-test: 96do-test:
102 cd ${WRKSRC} && ${MAKE_PROGRAM} ${TEST_PROGRAM} 97 cd ${WRKSRC} && ${MAKE_PROGRAM} ${TEST_PROGRAM}
103 cd ${WRKSRC}/testsuite && ${MAKE_PROGRAM} all 98 cd ${WRKSRC}/testsuite && ${MAKE_PROGRAM} all
104 99
105.if ${OPSYS} == "Darwin" 100.if ${OPSYS} == "Darwin"
106.PHONY: fix-darwin-install-name 101.PHONY: fix-darwin-install-name
107post-install: fix-darwin-install-name 102post-install: fix-darwin-install-name
108fix-darwin-install-name: 103fix-darwin-install-name:
109 for f in ${DESTDIR}${PREFIX}/lib/ocaml/*.so \ 104 for f in ${DESTDIR}${PREFIX}/lib/ocaml/*.so \
110 ${DESTDIR}${PREFIX}/lib/ocaml/stublibs/*.so; do \ 105 ${DESTDIR}${PREFIX}/lib/ocaml/stublibs/*.so; do \
111 install_name_tool -id `${ECHO} $$f | ${SED} -e 's,${DESTDIR},,g'` $$f; \ 106 install_name_tool -id `${ECHO} $$f | ${SED} -e 's,${DESTDIR},,g'` $$f; \
112 done 107 done
113.endif 108.endif