diff options
author | Wen Heping <wen@FreeBSD.org> | 2010-09-29 00:16:09 +0000 |
---|---|---|
committer | Wen Heping <wen@FreeBSD.org> | 2010-09-29 00:16:09 +0000 |
commit | 75bfe0add34edc2d684f176d3868ca8272264a0f (patch) | |
tree | 3c3b5945be0aeeaa43ffbb767a7e18acad320256 /math | |
parent | be6bbf0309b60d86de0302efca619e2d882d2280 (diff) | |
download | ports-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/Makefile | 5 |
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: |