From owner-svn-ports-all@FreeBSD.ORG Sat Jan 26 14:44:58 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id D8ACF173; Sat, 26 Jan 2013 14:44:58 +0000 (UTC) (envelope-from johans@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id B44EE231; Sat, 26 Jan 2013 14:44:58 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r0QEiwCl035727; Sat, 26 Jan 2013 14:44:58 GMT (envelope-from johans@svn.freebsd.org) Received: (from johans@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id r0QEiw0D035726; Sat, 26 Jan 2013 14:44:58 GMT (envelope-from johans@svn.freebsd.org) Message-Id: <201301261444.r0QEiw0D035726@svn.freebsd.org> From: Johan van Selst Date: Sat, 26 Jan 2013 14:44:58 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r311015 - head/security/nettle X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Jan 2013 14:44:58 -0000 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 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 + +.if ${ARCH} == "sparc64" +CONFIGURE_ENV+= CCPIC=-fPIC +.endif + .include post-install: @@ -45,4 +51,4 @@ post-install: cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR} .endif -.include +.include