From owner-svn-ports-all@FreeBSD.ORG Thu Mar 26 00:28:05 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E38437C5; Thu, 26 Mar 2015 00:28:05 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CD60BB3B; Thu, 26 Mar 2015 00:28:05 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t2Q0S5NG003347; Thu, 26 Mar 2015 00:28:05 GMT (envelope-from bdrewery@FreeBSD.org) Received: (from bdrewery@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t2Q0S5TD003346; Thu, 26 Mar 2015 00:28:05 GMT (envelope-from bdrewery@FreeBSD.org) Message-Id: <201503260028.t2Q0S5TD003346@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: bdrewery set sender to bdrewery@FreeBSD.org using -f From: Bryan Drewery Date: Thu, 26 Mar 2015 00:28:05 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r382281 - head/math/miracl 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.18-1 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: Thu, 26 Mar 2015 00:28:06 -0000 Author: bdrewery Date: Thu Mar 26 00:28:04 2015 New Revision: 382281 URL: https://svnweb.freebsd.org/changeset/ports/382281 QAT: https://qat.redports.org/buildarchive/r382281/ Log: This fails with Clang on 8.4-amd64. Just stick with GCC for now since it is working everywhere. Modified: head/math/miracl/Makefile Modified: head/math/miracl/Makefile ============================================================================== --- head/math/miracl/Makefile Thu Mar 26 00:00:44 2015 (r382280) +++ head/math/miracl/Makefile Thu Mar 26 00:28:04 2015 (r382281) @@ -24,7 +24,8 @@ LICENSE_PERMS_COMMERCIAL= dist-mirror di ONLY_FOR_ARCHS= i386 amd64 -USES= zip compiler:c++0x +USES= zip +USE_GCC= yes USE_LDCONFIG= yes EXTRACT_BEFORE_ARGS= -j -L -q @@ -41,22 +42,18 @@ BUILDCMD= linux BUILDCMD= linux64 .endif +.if ${ARCH} == "amd64" +CFLAGS+= -fPIC +.endif + post-patch: # C{C,XX} safeness # CFLAGS safeness -.if ${ARCH} == "i386" @${REINPLACE_CMD} -E \ -e 's|gcc|${CC}|' \ -e 's|g\+\+|${CXX}|' \ -e 's|-O2|${CFLAGS}|' \ ${WRKSRC}/${BUILDCMD} -.else - @${REINPLACE_CMD} -E \ - -e 's|gcc|${CC}|' \ - -e 's|g\+\+|${CXX}|' \ - -e 's|-O2|${CFLAGS} -fPIC|' \ - ${WRKSRC}/${BUILDCMD} -.endif # Don't error when files not found # Fix mrmuldv.cc not existing due to s/gcc/CC/ replacement above. @${REINPLACE_CMD} -E \