From owner-dev-commits-ports-main@freebsd.org Wed Jul 21 02:29:04 2021 Return-Path: Delivered-To: dev-commits-ports-main@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 33AC26589EE; Wed, 21 Jul 2021 02:29:04 +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 4GTzzh0KFxz4f77; Wed, 21 Jul 2021 02:29:04 +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 E666816384; Wed, 21 Jul 2021 02:29:03 +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 16L2T3db069364; Wed, 21 Jul 2021 02:29:03 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 16L2T3xu069363; Wed, 21 Jul 2021 02:29:03 GMT (envelope-from git) Date: Wed, 21 Jul 2021 02:29:03 GMT Message-Id: <202107210229.16L2T3xu069363@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: 983b6f6c72c8 - main - math/adol-c: Enable the SPARSE option by default 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: 983b6f6c72c81933f5c5eb5b53495763adf83d71 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commits to the main branch of the FreeBSD ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Jul 2021 02:29:04 -0000 The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=983b6f6c72c81933f5c5eb5b53495763adf83d71 commit 983b6f6c72c81933f5c5eb5b53495763adf83d71 Author: Yuri Victorovich AuthorDate: 2021-07-19 09:48:21 +0000 Commit: Yuri Victorovich CommitDate: 2021-07-21 02:28:56 +0000 math/adol-c: Enable the SPARSE option by default Reason: new version of science/opensim-core expects it. While here: * strip binaries * disable ColPack detection because it breaks with ColPack --- math/adol-c/Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/math/adol-c/Makefile b/math/adol-c/Makefile index 5487f77f945c..b1fa646f7ae3 100644 --- a/math/adol-c/Makefile +++ b/math/adol-c/Makefile @@ -1,5 +1,6 @@ PORTNAME= adol-c DISTVERSION= 2.7.2 +PORTREVISION= 1 CATEGORIES= math MASTER_SITES= https://www.coin-or.org/download/source/${PORTNAME:tu}/ DISTNAME= ${PORTNAME:tu}-${DISTVERSION} @@ -14,14 +15,21 @@ BUILD_DEPENDS= bash:shells/bash LIB_DEPENDS= libboost_system.so:devel/boost-libs USES= compiler:c++11-lang gmake libtool tar:tgz +USE_LDCONFIG= yes + GNU_CONFIGURE= yes CONFIGURE_SHELL= ${LOCALBASE}/bin/bash -USE_LDCONFIG= yes + +INSTALL_TARGET= install-strip OPTIONS_DEFINE= SPARSE # also uses AMPI, a seemingly obscure MPI implementation +OPTIONS_DEFAULT= SPARSE OPTIONS_SUB= yes SPARSE_DESC= Build sparse drivers SPARSE_CONFIGURE_ENABLE= sparse +post-patch: # broken with ColPack: https://github.com/coin-or/ADOL-C/issues/40 + @${REINPLACE_CMD} -e 's|with_colpack|with_colpackx| ; s|-lColPack||' ${WRKSRC}/configure + .include