svn commit: r501677 - head/cad/netgen

Stephen Montgomery-Smith stephen at FreeBSD.org
Wed May 15 03:07:25 UTC 2019


Author: stephen
Date: Wed May 15 03:07:24 2019
New Revision: 501677
URL: https://svnweb.freebsd.org/changeset/ports/501677

Log:
  - Fix mistake in r501675, where OSVERSION was tested in a place where it
    wasn't yet defined.

Modified:
  head/cad/netgen/Makefile

Modified: head/cad/netgen/Makefile
==============================================================================
--- head/cad/netgen/Makefile	Wed May 15 02:57:52 2019	(r501676)
+++ head/cad/netgen/Makefile	Wed May 15 03:07:24 2019	(r501677)
@@ -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>


More information about the svn-ports-all mailing list