security/nettle regression on sparc64 -current, build failed updating from 2.5 to 2.6
Nathaniel W Filardo
nwf at cs.jhu.edu
Wed Jan 23 02:49:33 UTC 2013
The following patch suffices for me by working around the ./configure
script's nominal smarts, but I am not sure it is the right fix. Hope it
helps you, too.
--nwf;
diff --git a/security/nettle/Makefile b/security/nettle/Makefile
index 656098d..fcc73ae 100644
--- a/security/nettle/Makefile
+++ b/security/nettle/Makefile
@@ -35,6 +35,10 @@ INFO= nettle
.include <bsd.port.options.mk>
+.if ${ARCH} == "sparc64"
+CONFIGURE_ENV= "CCPIC=-fPIC"
+.endif
+
post-install:
.if ${PORT_OPTIONS:MEXAMPLES}
@${MKDIR} ${EXAMPLESDIR}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-sparc64/attachments/20130122/939c2179/attachment.sig>
More information about the freebsd-sparc64
mailing list