diff options
author | arved <arved@FreeBSD.org> | 2004-02-17 20:59:08 +0800 |
---|---|---|
committer | arved <arved@FreeBSD.org> | 2004-02-17 20:59:08 +0800 |
commit | 43e043305cefedc05d54b99172f378c3a752f83b (patch) | |
tree | c221e727c34a9d3c868b65eb391b747d0b5fff79 /math/pari | |
parent | fd6e8d6f3fb6f7c6955a5d3a4c9656c92b572c23 (diff) | |
download | freebsd-ports-gnome-43e043305cefedc05d54b99172f378c3a752f83b.tar.gz freebsd-ports-gnome-43e043305cefedc05d54b99172f378c3a752f83b.tar.zst freebsd-ports-gnome-43e043305cefedc05d54b99172f378c3a752f83b.zip |
Fix build on AMD64
Diffstat (limited to 'math/pari')
-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} |