diff options
author | Stephen Montgomery-Smith <stephen@FreeBSD.org> | 2019-05-15 11:07:24 +0800 |
---|---|---|
committer | Stephen Montgomery-Smith <stephen@FreeBSD.org> | 2019-05-15 11:07:24 +0800 |
commit | 9f9a9f10fd1de4a3e93f17c8b6670938134cb254 (patch) | |
tree | 3f9229740827c8dc39bc3d54bf9318e78b0af247 | |
parent | 45898e8abf09f7e9f37ededdab0f64e3b56aea06 (diff) | |
download | freebsd-ports-gnome-9f9a9f10fd1de4a3e93f17c8b6670938134cb254.tar.gz freebsd-ports-gnome-9f9a9f10fd1de4a3e93f17c8b6670938134cb254.tar.zst freebsd-ports-gnome-9f9a9f10fd1de4a3e93f17c8b6670938134cb254.zip |
- Fix mistake in r501675, where OSVERSION was tested in a place where it
wasn't yet defined.
-rw-r--r-- | cad/netgen/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/cad/netgen/Makefile b/cad/netgen/Makefile index bf6dc686ad46..9caa9a8a8fa8 100644 --- a/cad/netgen/Makefile +++ b/cad/netgen/Makefile @@ -34,10 +34,6 @@ OPTIONS_DEFAULT= # OCC BROKEN_sparc64= internal gcc error (Bug 23159) -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1300014 -BROKEN= does not build with recent versions of FreeBSD -.endif - OCC_LIB_DEPENDS= libTKernel.so:cad/opencascade OCC_CXXFLAGS= -DOCCGEOMETRY -DHAVE_CONFIG_H -D${ARCH} -I${LOCALBASE}/include/OpenCASCADE OCC_CONFIGURE_ON= --enable-occ @@ -65,4 +61,10 @@ post-install: ${SH} ${FILESDIR}/netgen_copy_include_for_salome ${WRKSRC} ${STAGEDIR}${PREFIX} ${LN} ${STAGEDIR}${PREFIX}/lib/libnglib.so ${STAGEDIR}${PREFIX}/lib/libnglib.so.1 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1300014 +BROKEN= does not build with recent versions of FreeBSD +.endif + +.include <bsd.port.post.mk> |