diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2021-08-30 11:44:52 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2021-08-30 11:44:57 +0000 |
commit | 4088a5779c64c1d90d21d29054eb577965822a96 (patch) | |
tree | 494a26bbd94cf7e5b689d976fffa7783ec2dfed9 /lang/ocaml/Makefile | |
parent | net-im/libquotient: update to latest release (diff) |
lang/ocaml: sort pkg-plist correctly, remove some old cruft
- Sort the *flat* pkg-plist (after the PLIST_SUB expansion), and drop
needless ``@dir lib/ocaml/threads'' entry
- Remove "INSTALL* safeness" gimmick which had been added 16 years ago
in r133975 and supposedly helped to preserve correct permissions in
some circumstances, but these days it erroneously removes executable
bits from some binaries, or causes nothing but stage Q/A warnings
Diffstat (limited to 'lang/ocaml/Makefile')
-rw-r--r-- | lang/ocaml/Makefile | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/lang/ocaml/Makefile b/lang/ocaml/Makefile index 9eb9faca8621..737109f22199 100644 --- a/lang/ocaml/Makefile +++ b/lang/ocaml/Makefile @@ -137,21 +137,12 @@ post-patch: ${WRKSRC}/Makefile ${WRKSRC}/Makefile.tools \ ${WRKSRC}/asmrun/Makefile \ ${WRKSRC}/otherlibs/systhreads/Makefile \ - ${WRKSRC}/testsuite/makefiles/Makefile.common \ ${WRKSRC}/testsuite/tests/asmcomp/Makefile post-configure: @${REINPLACE_CMD} -E \ -e '/^PTHREAD_LINK/s,-pthread,${THR_LD},g' \ ${WRKSRC}/config/Makefile -# INSTALL* safeness (which preserves the correct permissions despite -# user's umask(1) - @${FIND} ${WRKDIR} -type f -name Makefile -print0 | \ - ${XARGS} -0 -n 5 -x ${REINPLACE_CMD} -E \ - -e 's,^(${PATTERN}+.*INSTALLDIR),\1\$${BSD_INSTALL_DATA} \4,' \ - -e 's,^(${PATTERN}+.*BINDIR),\1\$${BSD_INSTALL_PROGRAM} \4,' \ - -e 's,^(${PATTERN}+.*LIBDIR),\1\$${BSD_INSTALL_DATA} \4,' \ - -e 's,(${PATTERN}+.*(MANDIR|MANODIR|MANEXT)),\1\$${BSD_INSTALL_MAN} \4,' check-test: do-install @cd ${WRKSRC}/testsuite; ${RM} _log; for d in tests/* ; do \ |