Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Dec 2019 16:32:34 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r520937 - head/math/csdp
Message-ID:  <201912261632.xBQGWYLp046479@repo.freebsd.org>

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



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