aboutsummaryrefslogtreecommitdiffstats
path: root/math/ntl
diff options
context:
space:
mode:
authorwen <wen@FreeBSD.org>2010-09-29 08:16:09 +0800
committerwen <wen@FreeBSD.org>2010-09-29 08:16:09 +0800
commitb3fef5fd493fd73ad70a490ff7c77513845e3c0e (patch)
tree96d77b3130ba6d9870d52114ea7d1ddb0f2b90c0 /math/ntl
parent146de8fed47826a50bc227f65598379787eb59a9 (diff)
downloadfreebsd-ports-gnome-b3fef5fd493fd73ad70a490ff7c77513845e3c0e.tar.gz
freebsd-ports-gnome-b3fef5fd493fd73ad70a490ff7c77513845e3c0e.tar.zst
freebsd-ports-gnome-b3fef5fd493fd73ad70a490ff7c77513845e3c0e.zip
- Fix linking with libntl on amd64
PR: ports/150787 Submitted by: Max Brazhnikov <makc@FreeBSD.org>
Diffstat (limited to 'math/ntl')
-rw-r--r--math/ntl/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/math/ntl/Makefile b/math/ntl/Makefile
index d30b94c6cce2..a24921e0d414 100644
--- a/math/ntl/Makefile
+++ b/math/ntl/Makefile
@@ -7,7 +7,7 @@
PORTNAME= ntl
PORTVERSION= 5.5.2
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= math
MASTER_SITES= http://www.shoup.net/ntl/
@@ -30,7 +30,8 @@ CONFIGURE_ARGS+= AR="${AR}" \
LDFLAGS="${LDFLAGS}" NTL_STD_CXX=on \
PREFIX="${PREFIX}" RANLIB="${RANLIB}"
-WRKSRC= ${WRKDIR}/${DISTNAME}/src
+CFLAGS+= -fPIC
+WRKSRC= ${WRKDIR}/${DISTNAME}/src
MAKEFILE= makefile
do-install: