guile30: Attempt to MPROTECT

These statements are not seeming effective.  I can confirm that if the
guile binary is treated with "paxctl +m" after it is installed, then
with mprotect turned back on it will run.
This commit is contained in:
Greg Troxel 2020-03-20 13:02:51 -04:00
parent ce673e39eb
commit 7690be919d
1 changed files with 6 additions and 0 deletions

View File

@ -74,6 +74,12 @@ PLIST.charset= yes
post-configure:
${ECHO} '#define FLEXIBLE_ARRAY_MEMBER /**/' >> ${WRKSRC}/config.h
.include "../../mk/pax.mk"
# \todo Mark the guile with paxctl +m after it is built but before
# it is used in the build.
# \todo Make this actually work; manual paxctl +m after install does.
NOT_MPROTECT_SAFE+= ${GUILE_PREFIX}/bin/guile
.include "../../devel/gmp/buildlink3.mk"
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"