aboutsummaryrefslogtreecommitdiff
path: root/security/nettle/Makefile
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-06-05 18:38:36 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-06-05 18:46:55 +0000
commitf4058dc1247c7ffb8ff78af7c2c6431ea057ad0b (patch)
tree6be7cd438691d51aa94f9c0fea48ed2ef25704a1 /security/nettle/Makefile
parent3373ea05e8da543289b0244757769cd4dd463433 (diff)
downloadports-f4058dc1247c7ffb8ff78af7c2c6431ea057ad0b.tar.gz
ports-f4058dc1247c7ffb8ff78af7c2c6431ea057ad0b.zip
security/nettle: Update to 3.9.1
Diffstat (limited to 'security/nettle/Makefile')
-rw-r--r--security/nettle/Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/security/nettle/Makefile b/security/nettle/Makefile
index 351f62cddc3b..c35970d715af 100644
--- a/security/nettle/Makefile
+++ b/security/nettle/Makefile
@@ -1,5 +1,5 @@
PORTNAME= nettle
-PORTVERSION= 3.9
+PORTVERSION= 3.9.1
CATEGORIES= security
MASTER_SITES= GNU \
https://www.lysator.liu.se/~nisse/archive/
@@ -32,6 +32,7 @@ OPTIONS_DEFINE= DOCS EXAMPLES
EXAMPLES_CFLAGS= -I${OPENSSLINC}
EXAMPLES_USES= ssl
+EXAMPLES_EXTRA_PATCHES_OFF= ${PATCHDIR}/extra-patch-Makefile.in
.include <bsd.port.options.mk>
@@ -39,15 +40,11 @@ EXAMPLES_USES= ssl
CONFIGURE_ENV+= CCPIC=-fPIC
.endif
-post-patch:
- @${REINPLACE_CMD} -e '/libdir=/ s|lib32|lib|' ${WRKSRC}/configure
.if ${ARCH} == "mips64"
+post-patch:
@${REINPLACE_CMD} -e 's|__sgi|__unix__|' ${WRKSRC}/configure
.endif
-post-patch-EXAMPLES-off:
- @${REINPLACE_CMD} -e '/SUBDIRS = / s| examples||' ${WRKSRC}/Makefile.in
-
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib*.so