aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvd <vd@FreeBSD.org>2006-02-13 18:24:18 +0800
committervd <vd@FreeBSD.org>2006-02-13 18:24:18 +0800
commit3315463ba50c419c4bc778dce7af5232c8bb5cd2 (patch)
treeda1284b18f57b5c7924cd10bc79592801a74ecdf
parent27228f2d5f7f6b3e40a5a35cb0ffaaff6ea09bb9 (diff)
downloadfreebsd-ports-gnome-3315463ba50c419c4bc778dce7af5232c8bb5cd2.tar.gz
freebsd-ports-gnome-3315463ba50c419c4bc778dce7af5232c8bb5cd2.tar.zst
freebsd-ports-gnome-3315463ba50c419c4bc778dce7af5232c8bb5cd2.zip
Change `NOT_FOR_ARCHS' with `if ARCH then BROKEN'
Noticed by: danfe Approved by: garga (mentor)
-rw-r--r--science/afni/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/science/afni/Makefile b/science/afni/Makefile
index 0157c2a43a67..8fbe068f104e 100644
--- a/science/afni/Makefile
+++ b/science/afni/Makefile
@@ -27,8 +27,11 @@ EXTRACT_ONLY= afni_src.tgz afni_doc.tgz
MAINTAINER= bacon@smithers.neuro.mcw.edu
COMMENT= Advanced Functional Neuro Imaging
-# does not compile on sparc64: "undefined reference to `_mcount'"
-NOT_FOR_ARCHS= sparc64
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "sparc64"
+BROKEN= Does not compile on sparc64: "undefined reference to `_mcount'"
+.endif
RUN_DEPENDS= cjpeg:${PORTSDIR}/graphics/jpeg \
mpeg_encode:${PORTSDIR}/multimedia/mpeg_encode \
@@ -128,4 +131,4 @@ do-install:
post-install:
@${CAT} ${WRKDIR}/pkg-message
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>