Skip site navigation (1)Skip section navigation (2)
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

--xgyAXRrhYN0wYx8y
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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=3D                nettle
=20
 .include <bsd.port.options.mk>
=20
+.if ${ARCH} =3D=3D "sparc64"
+CONFIGURE_ENV=3D  "CCPIC=3D-fPIC"
+.endif
+
 post-install:
 .if ${PORT_OPTIONS:MEXAMPLES}
        @${MKDIR} ${EXAMPLESDIR}


--xgyAXRrhYN0wYx8y
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlD/T2kACgkQTeQabvr9Tc/EhwCfVQcSG6PZxyb3INtm+MU2ctH9
ooIAnidJvxHfYTPNhaXhjIHfNpatGD1N
=Hp98
-----END PGP SIGNATURE-----

--xgyAXRrhYN0wYx8y--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130123024809.GB30657>