Date: Sat, 26 Jan 2013 14:44:58 +0000 (UTC) From: Johan van Selst <johans@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r311015 - head/security/nettle Message-ID: <201301261444.r0QEiw0D035726@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: johans Date: Sat Jan 26 14:44:57 2013 New Revision: 311015 URL: http://svnweb.freebsd.org/changeset/ports/311015 Log: Add -fPIC flag to fix compilation on sparc64 Submitted by: Anton Shterenlikht <mexas@bristol.ac.uk> Modified: head/security/nettle/Makefile Modified: head/security/nettle/Makefile ============================================================================== --- head/security/nettle/Makefile Sat Jan 26 14:32:25 2013 (r311014) +++ head/security/nettle/Makefile Sat Jan 26 14:44:57 2013 (r311015) @@ -33,6 +33,12 @@ EXAMPLES= examples/*.c examples/*.h INFO= nettle +.include <bsd.port.pre.mk> + +.if ${ARCH} == "sparc64" +CONFIGURE_ENV+= CCPIC=-fPIC +.endif + .include <bsd.port.options.mk> post-install: @@ -45,4 +51,4 @@ post-install: cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR} .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201301261444.r0QEiw0D035726>