aboutsummaryrefslogtreecommitdiff
path: root/lang/petite-chez
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-10-07 15:00:46 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-10-07 15:00:46 +0000
commit8c41caa60a837dfe5f24427711aafb7456629f4c (patch)
tree09f76aea26a919a18038b24623852d866d5ba601 /lang/petite-chez
parenta3eed4dbaeb4c5c7a694a47b11363b964f84a2bf (diff)
downloadports-8c41caa60a837dfe5f24427711aafb7456629f4c.tar.gz
ports-8c41caa60a837dfe5f24427711aafb7456629f4c.zip
- 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
Notes
Notes: svn path=/head/; revision=398767
Diffstat (limited to 'lang/petite-chez')
-rw-r--r--lang/petite-chez/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/lang/petite-chez/Makefile b/lang/petite-chez/Makefile
index 87a7914067aa..6ccf2914b89a 100644
--- a/lang/petite-chez/Makefile
+++ b/lang/petite-chez/Makefile
@@ -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>