aboutsummaryrefslogtreecommitdiffstats
path: root/cad
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-01-16 07:14:38 +0800
committerbapt <bapt@FreeBSD.org>2014-01-16 07:14:38 +0800
commitaab5fb4dc7407a4fbb6bdeea0aa83fb9707e5bb1 (patch)
tree793ab41e8dade3a0389838224476c62d95a483ae /cad
parent45bfb3a3aeca039f6284cb62bd9464e536575718 (diff)
downloadfreebsd-ports-gnome-aab5fb4dc7407a4fbb6bdeea0aa83fb9707e5bb1.tar.gz
freebsd-ports-gnome-aab5fb4dc7407a4fbb6bdeea0aa83fb9707e5bb1.tar.zst
freebsd-ports-gnome-aab5fb4dc7407a4fbb6bdeea0aa83fb9707e5bb1.zip
Reduce over inclusion of bsd.port.mk
Diffstat (limited to 'cad')
-rw-r--r--cad/pcb/Makefile13
1 files changed, 6 insertions, 7 deletions
diff --git a/cad/pcb/Makefile b/cad/pcb/Makefile
index 04c7b907acdd..d75284d848e2 100644
--- a/cad/pcb/Makefile
+++ b/cad/pcb/Makefile
@@ -41,6 +41,11 @@ GTK_DESC= GIMP ToolKit widgets
NONE_DESC= No GUI support
NO_STAGE= yes
+
+.for a in ia64 powerpc sparc64
+BROKEN_${a}= Does not compile on ia64, powerpc, or sparc64
+.endfor
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
@@ -83,10 +88,4 @@ MAN1= pcb.1
CONFIGURE_ARGS+= --disable-doc
.endif
-.include <bsd.port.pre.mk>
-
-.if ${ARCH} == "ia64" || ${ARCH} == "powerpc" || ${ARCH} == "sparc64"
-BROKEN= Does not compile on ia64, powerpc, or sparc64
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>