svn commit: r520937 - head/math/csdp

Yuri Victorovich yuri at FreeBSD.org
Thu Dec 26 16:32:34 UTC 2019


Author: yuri
Date: Thu Dec 26 16:32:33 2019
New Revision: 520937
URL: https://svnweb.freebsd.org/changeset/ports/520937

Log:
  math/csdp: Fix build where omp.h is missing in the base system
  
  Reported by:	fallout

Modified:
  head/math/csdp/Makefile

Modified: head/math/csdp/Makefile
==============================================================================
--- head/math/csdp/Makefile	Thu Dec 26 16:31:26 2019	(r520936)
+++ head/math/csdp/Makefile	Thu Dec 26 16:32:33 2019	(r520937)
@@ -31,7 +31,14 @@ PLIST_FILES=	bin/complement \
 		bin/rand_graph \
 		bin/theta
 
+.include <bsd.port.pre.mk>
+
+# XXX Drop after FreeBSD 12.0 EOL
+.if !exists(/usr/include/omp.h)
+LIB_DEPENDS+=	libomp.so:devel/openmp
+.endif
+
 post-stage:
 	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/*
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>


More information about the svn-ports-all mailing list