Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 May 2019 03:07:25 +0000 (UTC)
From:      Stephen Montgomery-Smith <stephen@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r501677 - head/cad/netgen
Message-ID:  <201905150307.x4F37P1L081345@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905150307.x4F37P1L081345>