git: d908b08281ba - main - math/cbc: Build with Nauty, graph library

Yuri Victorovich yuri at FreeBSD.org
Mon Aug 23 20:16:57 UTC 2021


The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d908b08281baab671763b8fa1a0097ca1cf416b1

commit d908b08281baab671763b8fa1a0097ca1cf416b1
Author:     Yuri Victorovich <yuri at FreeBSD.org>
AuthorDate: 2021-08-23 19:31:17 +0000
Commit:     Yuri Victorovich <yuri at FreeBSD.org>
CommitDate: 2021-08-23 20:14:44 +0000

    math/cbc: Build with Nauty, graph library
---
 math/cbc/Makefile | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/math/cbc/Makefile b/math/cbc/Makefile
index 3e256a48ba02..41791fc98aff 100644
--- a/math/cbc/Makefile
+++ b/math/cbc/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	cbc
 DISTVERSIONPREFIX=	releases/
 DISTVERSION=	2.10.5
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	math
 PKGNAMEPREFIX=	coin-or-
 
@@ -18,15 +18,19 @@ LIB_DEPENDS=	libblas.so:math/blas \
 		libcoinmumps.so:math/ipopt \
 		libCoinUtils.so:math/coinutils \
 		liblapack.so:math/lapack \
+		libnauty.so:math/nauty \
 		libopenblas.so:math/openblas \
 		libOsi.so:math/osi
 
 USES=		compiler:c++11-lang fortran gmake libtool pkgconfig
+USE_LDCONFIG=	yes
+
 USE_GITHUB=	yes
 GH_ACCOUNT=	coin-or
 GH_PROJECT=	Cbc
+
 GNU_CONFIGURE=	yes
-USE_LDCONFIG=	yes
+CONFIGURE_ARGS=	--with-nauty-lib="-L${LOCALBASE}/lib -lnauty" --with-nauty-incdir=${LOCALBASE}/include/nauty
 
 post-install:
 	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so


More information about the dev-commits-ports-main mailing list