From fba3b1ed051163feec66f63c1a42ab4cc5cc249d Mon Sep 17 00:00:00 2001 From: Tilman Keskinoz Date: Tue, 17 Feb 2004 12:59:08 +0000 Subject: Fix build on AMD64 --- math/pari/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'math') 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} -- cgit v1.2.3