aboutsummaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorWen Heping <wen@FreeBSD.org>2010-09-29 00:16:09 +0000
committerWen Heping <wen@FreeBSD.org>2010-09-29 00:16:09 +0000
commit75bfe0add34edc2d684f176d3868ca8272264a0f (patch)
tree3c3b5945be0aeeaa43ffbb767a7e18acad320256 /math
parentbe6bbf0309b60d86de0302efca619e2d882d2280 (diff)
downloadports-75bfe0add34edc2d684f176d3868ca8272264a0f.tar.gz
ports-75bfe0add34edc2d684f176d3868ca8272264a0f.zip
- Fix linking with libntl on amd64
PR: ports/150787 Submitted by: Max Brazhnikov <makc@FreeBSD.org>
Notes
Notes: svn path=/head/; revision=262057
Diffstat (limited to 'math')
-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: