Skip to content

Commit

Permalink
math/couenne: Link with libnauty from math/nauty
Browse files Browse the repository at this point in the history
  • Loading branch information
yurivict committed May 3, 2021
1 parent 7051ab8 commit 0be3078
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
10 changes: 7 additions & 3 deletions math/couenne/Makefile
@@ -1,7 +1,7 @@
PORTNAME= couenne
DISTVERSIONPREFIX= releases/
DISTVERSION= 0.5.8
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= math
PKGNAMEPREFIX= coin-or-

Expand All @@ -11,18 +11,22 @@ COMMENT= Convex Over and Under Envelopes for NonliNear Estimation
LICENSE= EPL
LICENSE_FILE= ${WRKSRC}/Couenne/LICENSE

BUILD_DEPENDS= ${LOCALBASE}/lib/libnauty.a:math/nauty
LIB_DEPENDS= libbonmin.so:math/bonmin \
libCbc.so:math/cbc \
libCgl.so:math/cgl \
libClp.so:math/clp \
libipopt.so:math/ipopt

USES= blaslapack:netlib fortran gmake libtool pkgconfig
GNU_CONFIGURE= yes
USE_LDCONFIG= yes

USE_GITHUB= yes
GH_ACCOUNT= coin-or
GH_PROJECT= Couenne
USE_LDCONFIG= yes

GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-nauty-incdir=${LOCALBASE}/include/nauty --with-nauty-lib=${LOCALBASE}/lib/libnauty.a

INSTALL_TARGET= install-strip

Expand Down
1 change: 1 addition & 0 deletions math/couenne/pkg-plist
Expand Up @@ -82,6 +82,7 @@ include/coin/CouenneTwoImplied.hpp
include/coin/CouenneTypes.hpp
include/coin/CouenneVTObject.hpp
include/coin/CouenneVarObject.hpp
include/coin/Nauty.h
lib/libCouenne.so
lib/libCouenne.so.1
lib/libCouenne.so.1.4.8
Expand Down

0 comments on commit 0be3078

Please sign in to comment.