From owner-freebsd-sparc64@FreeBSD.ORG Wed Jan 23 02:49:33 2013 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 9A0E4895 for ; Wed, 23 Jan 2013 02:49:33 +0000 (UTC) (envelope-from nwf@cs.jhu.edu) Received: from blaze.cs.jhu.edu (blaze.cs.jhu.edu [128.220.13.50]) by mx1.freebsd.org (Postfix) with ESMTP id 603BA309 for ; Wed, 23 Jan 2013 02:49:33 +0000 (UTC) Received: from gradx.cs.jhu.edu (gradx.cs.jhu.edu [128.220.13.52]) by blaze.cs.jhu.edu (8.14.3/8.14.3) with ESMTP id r0N2mABE002305 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 22 Jan 2013 21:48:10 -0500 (EST) Received: from gradx.cs.jhu.edu (localhost [127.0.0.1]) by gradx.cs.jhu.edu (8.14.5/8.14.5) with ESMTP id r0N2mAn6008305; Tue, 22 Jan 2013 21:48:10 -0500 Received: (from nwf@localhost) by gradx.cs.jhu.edu (8.14.5/8.14.5/Submit) id r0N2m9Z3008304; Tue, 22 Jan 2013 21:48:09 -0500 Date: Tue, 22 Jan 2013 21:48:09 -0500 From: Nathaniel W Filardo 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> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="xgyAXRrhYN0wYx8y" Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jan 2013 02:49:33 -0000 --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 =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--