From owner-dev-commits-ports-all@freebsd.org Sat Jul 31 21:19:48 2021 Return-Path: Delivered-To: dev-commits-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 37EDA66482A; Sat, 31 Jul 2021 21:19:48 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Gccbl6r5Wz3HKX; Sat, 31 Jul 2021 21:19:47 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id A56B01FD2C; Sat, 31 Jul 2021 21:19:47 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 16VLJluo019294; Sat, 31 Jul 2021 21:19:47 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 16VLJlgn019293; Sat, 31 Jul 2021 21:19:47 GMT (envelope-from git) Date: Sat, 31 Jul 2021 21:19:47 GMT Message-Id: <202107312119.16VLJlgn019293@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 577873f6aa8f - main - math/topcom: Add option SOPLEX MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 577873f6aa8f2675b90e950bd03535948e2e4cd6 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Jul 2021 21:19:48 -0000 The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=577873f6aa8f2675b90e950bd03535948e2e4cd6 commit 577873f6aa8f2675b90e950bd03535948e2e4cd6 Author: Yuri Victorovich AuthorDate: 2021-07-31 21:17:32 +0000 Commit: Yuri Victorovich 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 --- 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