Date: Sat, 31 Jul 2021 21:19:47 GMT From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 577873f6aa8f - main - math/topcom: Add option SOPLEX Message-ID: <202107312119.16VLJlgn019293@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=577873f6aa8f2675b90e950bd03535948e2e4cd6 commit 577873f6aa8f2675b90e950bd03535948e2e4cd6 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2021-07-31 21:17:32 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2021-07-31 21:19:37 +0000 math/topcom: Add option SOPLEX It fixes build in the presence of the SoPlex package. Reported by: Philipp Ost <bsd@philippost.de> --- math/topcom/Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/math/topcom/Makefile b/math/topcom/Makefile index 8f9fee7af2ff..72d403737fd7 100644 --- a/math/topcom/Makefile +++ b/math/topcom/Makefile @@ -1,5 +1,6 @@ PORTNAME= topcom DISTVERSION= 0.17.8 +PORTREVISION= 1 CATEGORIES= math MASTER_SITES= http://www.rambau.wm.uni-bayreuth.de/Software/ DISTNAME= ${PORTNAME:tu}-${DISTVERSION} @@ -21,6 +22,13 @@ LDFLAGS+= -lgmp -lgmpxx -lcddgmp WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION} +OPTIONS_DEFINE= SOPLEX # SOPLEX shouldn't be made default because SoPlex's license prevents packaging. + +SOPLEX_DESC= Build with SoPlex linear programming problem solver +SOPLEX_CXXFLAGS= -I${LOCALBASE}/include/soplex +SOPLEX_LIB_DEPENDS= libsoplex.so:math/SoPlex +SOPLEX_BROKEN= not compatible with SoPlex-5.0.2 - missing header, reported to the upstream author vie e-mail + post-extract: @${RM} -r ${WRKSRC}/external @@ -31,4 +39,7 @@ post-patch: s|\.\./external/lib/libgmp\.a|${LOCALBASE}/lib/libgmp.so| ; \ s|\.\./external/lib/libgmpxx\.a|${LOCALBASE}/lib/libgmpxx.so|' +post-patch-SOPLEX-off: + @${REINPLACE_CMD} -e 's|AC_CHECK_LIB(soplex,|AC_CHECK_LIB(soplex_disabled,|' ${WRKSRC}/configure.ac + .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202107312119.16VLJlgn019293>