1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

- Fix mistake in r501675, where OSVERSION was tested in a place where it

wasn't yet defined.
This commit is contained in:
Stephen Montgomery-Smith 2019-05-15 03:07:24 +00:00
parent 45898e8abf
commit 9f9a9f10fd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=501677

View File

@ -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>