diff options
author | Tilman Keskinoz <arved@FreeBSD.org> | 2004-02-17 12:59:08 +0000 |
---|---|---|
committer | Tilman Keskinoz <arved@FreeBSD.org> | 2004-02-17 12:59:08 +0000 |
commit | fba3b1ed051163feec66f63c1a42ab4cc5cc249d (patch) | |
tree | 596ab6331393828cb9162440d38c44349b7ea4bc /math | |
parent | 47ce888c2fd13eaf4c20187b3f18cb7dfc8b59a4 (diff) | |
download | ports-fba3b1ed051163feec66f63c1a42ab4cc5cc249d.tar.gz ports-fba3b1ed051163feec66f63c1a42ab4cc5cc249d.zip |
Notes
Diffstat (limited to 'math')
-rw-r--r-- | math/pari/Makefile | 4 |
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} |