Date: Tue, 22 Jan 2013 21:48:09 -0500 From: Nathaniel W Filardo <nwf@cs.jhu.edu> To: mexas@bristol.ac.uk, freebsd-sparc64@freebsd.org Subject: Re: security/nettle regression on sparc64 -current, build failed updating from 2.5 to 2.6 Message-ID: <20130123024809.GB30657@gradx.cs.jhu.edu>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
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}
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iEYEARECAAYFAlD/T2kACgkQTeQabvr9Tc/EhwCfVQcSG6PZxyb3INtm+MU2ctH9
ooIAnidJvxHfYTPNhaXhjIHfNpatGD1N
=Hp98
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130123024809.GB30657>
