aboutsummaryrefslogtreecommitdiff
path: root/math/pari
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2004-02-17 12:59:08 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2004-02-17 12:59:08 +0000
commitfba3b1ed051163feec66f63c1a42ab4cc5cc249d (patch)
tree596ab6331393828cb9162440d38c44349b7ea4bc /math/pari
parent47ce888c2fd13eaf4c20187b3f18cb7dfc8b59a4 (diff)
downloadports-fba3b1ed051163feec66f63c1a42ab4cc5cc249d.tar.gz
ports-fba3b1ed051163feec66f63c1a42ab4cc5cc249d.zip
Notes
Diffstat (limited to 'math/pari')
-rw-r--r--math/pari/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/math/pari/Makefile b/math/pari/Makefile
index c07df247ce38..aa88b3543e2a 100644
--- a/math/pari/Makefile
+++ b/math/pari/Makefile
@@ -35,6 +35,10 @@ HAVE_EMACS!= which emacs || echo nope
PLIST= ${PKGDIR}/pkg-plist.emacs
.endif
+.if ${MACHINE_ARCH:L} == "amd64"
+CFLAGS+= -fPIC
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|-O3|"${CFLAGS}"|' ${WRKSRC}/${CONFIGURE_SCRIPT}