svn commit: r398767 - head/lang/petite-chez
Dmitry Marakasov
amdmi3 at FreeBSD.org
Wed Oct 7 15:00:48 UTC 2015
Author: amdmi3
Date: Wed Oct 7 15:00:46 2015
New Revision: 398767
URL: https://svnweb.freebsd.org/changeset/ports/398767
Log:
- Mark MAKE_JOBS_UNSAFE, there's a race between ld and chmod which leads to build failure:
chmod 551 ./scheme
/usr/bin/ld: reopening ./scheme: Permission denied
/usr/bin/ld: final link failed: Permission denied
- Fix stripping, files are not writable
Approved by: portmgr blanket
Modified:
head/lang/petite-chez/Makefile
Modified: head/lang/petite-chez/Makefile
==============================================================================
--- head/lang/petite-chez/Makefile Wed Oct 7 13:39:19 2015 (r398766)
+++ head/lang/petite-chez/Makefile Wed Oct 7 15:00:46 2015 (r398767)
@@ -33,6 +33,7 @@ CONFIGURE_ARGS= --installprefix=${PREFIX
--force-relink \
--nogzip-man-pages \
-m=${CHEZ_MACHTYPE}
+MAKE_JOBS_UNSAFE= yes
ALL_TARGET= build
@@ -74,7 +75,10 @@ post-configure:
${WRKSRC}/Mf-${CHEZ_MACHTYPE}
post-install:
- ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/petite
- ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/scheme-script
+.for bin in petite scheme-script
+ ${CHMOD} u+w ${STAGEDIR}${PREFIX}/bin/${bin}
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${bin}
+ ${CHMOD} u-w ${STAGEDIR}${PREFIX}/bin/${bin}
+.endfor
.include <bsd.port.post.mk>
More information about the svn-ports-head
mailing list