diff options
author | kris <kris@FreeBSD.org> | 2004-03-07 13:45:25 +0800 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2004-03-07 13:45:25 +0800 |
commit | 9294fb1b2cbb4faf6aac8580c91d44abe9e56873 (patch) | |
tree | 5eb91273e1a67c51d47e582970952d943f0f021b /math/pari | |
parent | 96e40e68650f8e303ceb23c75ee338bc180be1cc (diff) | |
download | freebsd-ports-gnome-9294fb1b2cbb4faf6aac8580c91d44abe9e56873.tar.gz freebsd-ports-gnome-9294fb1b2cbb4faf6aac8580c91d44abe9e56873.tar.zst freebsd-ports-gnome-9294fb1b2cbb4faf6aac8580c91d44abe9e56873.zip |
BROKEN on sparc64: Does not compile
Correct ARCH check for amd64.
Diffstat (limited to 'math/pari')
-rw-r--r-- | math/pari/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/math/pari/Makefile b/math/pari/Makefile index aa88b3543e2a..4864c6fd8d56 100644 --- a/math/pari/Makefile +++ b/math/pari/Makefile @@ -35,11 +35,17 @@ HAVE_EMACS!= which emacs || echo nope PLIST= ${PKGDIR}/pkg-plist.emacs .endif -.if ${MACHINE_ARCH:L} == "amd64" +.include <bsd.port.pre.mk> + +.if ${ARCH} == "amd64" CFLAGS+= -fPIC .endif +.if ${ARCH} == "sparc64" +BROKEN= "Does not compile on sparc64" +.endif + post-patch: @${REINPLACE_CMD} -e 's|-O3|"${CFLAGS}"|' ${WRKSRC}/${CONFIGURE_SCRIPT} -.include <bsd.port.mk> +.include <bsd.port.post.mk> |