aboutsummaryrefslogtreecommitdiffstats
path: root/cad/spice/Makefile
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2003-10-29 11:40:13 +0800
committerlinimon <linimon@FreeBSD.org>2003-10-29 11:40:13 +0800
commite4be9cc1b61120bd6a4a61180110624f08335424 (patch)
tree9aaf85b18a2cc59e9a1f5820070c7c25f42002f8 /cad/spice/Makefile
parent2d8a221cce8db16150c017fbb3fc9e96c6c1c60f (diff)
downloadfreebsd-ports-gnome-e4be9cc1b61120bd6a4a61180110624f08335424.tar.gz
freebsd-ports-gnome-e4be9cc1b61120bd6a4a61180110624f08335424.tar.zst
freebsd-ports-gnome-e4be9cc1b61120bd6a4a61180110624f08335424.zip
Move inclusion of bsd.port.pre.mk past definition of variables.
Pet portlint.
Diffstat (limited to 'cad/spice/Makefile')
-rw-r--r--cad/spice/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/cad/spice/Makefile b/cad/spice/Makefile
index b91e57bd1475..7f6879424ed4 100644
--- a/cad/spice/Makefile
+++ b/cad/spice/Makefile
@@ -18,12 +18,6 @@ EXTRACT_ONLY= sp3f4.kit${EXTRACT_SUFX}
MAINTAINER= ports@FreeBSD.org
COMMENT= A general-purpose circuit simulation program
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 501000
-BROKEN= "Does not compile on FreeBSD ${OSVERSION}"
-.endif
-
USE_XLIB= yes
USE_REINPLACE= yes
NO_WRKSUBDIR= yes
@@ -32,6 +26,12 @@ MAN3= mfb.3
MAN5= mfbcap.5
MLINKS= spice.1 spice3.1
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 501000
+BROKEN= "Does not compile on FreeBSD ${OSVERSION}"
+.endif
+
post-configure:
@${REINPLACE_CMD} -e 's+@CC@+${CC}+ ; s+@CFLAGS@+${CFLAGS}+ ; \
s+@X11BASE@+${X11BASE}+;' \