aboutsummaryrefslogtreecommitdiffstats
path: root/cad
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-01-16 07:11:44 +0800
committerbapt <bapt@FreeBSD.org>2014-01-16 07:11:44 +0800
commit7e3abc81c50f7c665936b71fee26e78fda59d5e6 (patch)
tree328d663709319f6736b07a36ed50a6d0bea85401 /cad
parentf5c64640f7811558f38e39d67a1eeb8f48e2c013 (diff)
downloadfreebsd-ports-gnome-7e3abc81c50f7c665936b71fee26e78fda59d5e6.tar.gz
freebsd-ports-gnome-7e3abc81c50f7c665936b71fee26e78fda59d5e6.tar.zst
freebsd-ports-gnome-7e3abc81c50f7c665936b71fee26e78fda59d5e6.zip
Reduce over inclusion of bsd.port.mk
Diffstat (limited to 'cad')
-rw-r--r--cad/netgen/Makefile11
1 files changed, 4 insertions, 7 deletions
diff --git a/cad/netgen/Makefile b/cad/netgen/Makefile
index df60a0494d73..7589b5048a10 100644
--- a/cad/netgen/Makefile
+++ b/cad/netgen/Makefile
@@ -8,7 +8,7 @@ CATEGORIES= cad
MASTER_SITES= SF/netgen-mesher/netgen-mesher/${PORTVERSION:S|.0$||}/
MAINTAINER= stephen@FreeBSD.org
-COMMENT= An automatic 3D tetrahedral mesh generator
+COMMENT= Automatic 3D tetrahedral mesh generator
LIB_DEPENDS= libTix8.4.3.so:${PORTSDIR}/x11-toolkits/tix \
libjpeg.so:${PORTSDIR}/graphics/jpeg \
@@ -33,6 +33,8 @@ FFMPEG_DESC= video recording with FFmpeg
OPTIONS_DEFAULT= OCC
NO_STAGE= yes
+
+BROKEN_sparc64= internal gcc error (Bug 23159)
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MOCC}
@@ -54,11 +56,6 @@ MAKE_ENV= TK_VER=${TK_VER} TCL_VER=${TCL_VER} \
TCL_INCLUDEDIR="${TCL_INCLUDEDIR}" \
TK_INCLUDEDIR="${TK_INCLUDEDIR}" \
MACHINE=${MACHINE} MAKE=${GMAKE}
-.include <bsd.port.pre.mk>
-
-.if ${ARCH} == "sparc64"
-BROKEN= internal gcc error (Bug 23159)
-.endif
pre-configure:
${REINPLACE_CMD} -e "s|%%DATADIR%%|${DATADIR}|" \
@@ -71,4 +68,4 @@ post-install:
${LN} ${PREFIX}/lib/libnglib.so ${PREFIX}/lib/libnglib.so.1
${CAT} ${PKGMESSAGE}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>