summaryrefslogtreecommitdiff
path: root/security/pgp6/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/pgp6/Makefile')
-rw-r--r--security/pgp6/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/security/pgp6/Makefile b/security/pgp6/Makefile
index ee8d06e76cff..25e6cbbb1e48 100644
--- a/security/pgp6/Makefile
+++ b/security/pgp6/Makefile
@@ -37,10 +37,6 @@ LATEST_LINK= pgp6
BROKEN= Does not compile on !i386
.endif
-.if ${OSVERSION} >= 700042
-BROKEN?= Does not compile with GCC 4.2
-.endif
-
# the distfile is actually a tar of three compressed tars and their
# signatures
post-extract:
@@ -56,6 +52,11 @@ post-extract:
.endif
${CP} ${FILESDIR}/build.Makefile ${WRKSRC}/Makefile
+pre-patch:
+ ${REINPLACE_CMD} -e 's,-fwritable-strings,,' \
+ ${WRKSRC}/libs/network/ldaplib/Make-common \
+ ${WRKSRC}/libs/network/ldaplib/*/Makefile
+
do-install:
cd ${WRKSRC}/clients/pgp/cmdline ; ${GMAKE} install ; \
${INSTALL_MAN} packaging/pgp-6.0/man/man1/pgp.1 ${PREFIX}/man/man1