aboutsummaryrefslogtreecommitdiff
path: root/security/nettle/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/nettle/Makefile')
-rw-r--r--security/nettle/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/security/nettle/Makefile b/security/nettle/Makefile
index e28ec8166e04..694353749c2c 100644
--- a/security/nettle/Makefile
+++ b/security/nettle/Makefile
@@ -2,7 +2,7 @@
PORTNAME= nettle
PORTVERSION= 3.7.2
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= security
MASTER_SITES= GNU \
https://www.lysator.liu.se/~nisse/archive/
@@ -39,6 +39,10 @@ EXAMPLES_USES= ssl
CONFIGURE_ENV+= CCPIC=-fPIC
.endif
+.if defined(PPC_ABI) && ${PPC_ABI} == ELFv2
+EXTRA_PATCHES= ${FILESDIR}/extra-patch-powerpc64_machine.m4
+.endif
+
post-patch:
@${REINPLACE_CMD} -e '/libdir=/ s|lib32|lib|' ${WRKSRC}/configure
.if ${ARCH} == "mips64"