- 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
This commit is contained in:
parent
a3eed4dbae
commit
8c41caa60a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=398767
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user