svn commit: r311015 - head/security/nettle

Johan van Selst johans at FreeBSD.org
Sat Jan 26 14:44:58 UTC 2013


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 at 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>


More information about the svn-ports-all mailing list