From nobody Thu Nov 02 16:25:41 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SLq461N3rz4yp7S; Thu, 2 Nov 2023 16:25:42 +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 4SLq460lNwz4mrN; Thu, 2 Nov 2023 16:25:42 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698942342; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=cKdRfj0hxId5P83Ouz58BIV9Gi2zLBlX2ZmYo4jK6PI=; b=t0+YX+X3LNRsmoteJ9kqqfnqy78LWErBaIFvRoaXRz1u4bN3iDHdMG2mBMlncnrwCuMtsT u71wZNavEpwvI0J8asTTyvHu85lP4NNuT0payiF7ZdnMwyRjRqjqtBr/CD569sB0RoHwJi mqHaNLET5ZhYwaY70auIIKk5tNCiS2oOzl0cNmMxlxyDrtJMYOweQ+NxFs718qPt1CWF7c UGHYsqPL5KAlywE+xUhVVS1jbFLHmEDR3hMbjkUdLtLVnm838/j9dFBudTq+30TIE1rgex M28YjQxHt2WVryF5YJQXuJgI/fuBF7t2jHMBp8g2hOOLM+TG4yyUtBY6cCVLcQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698942342; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=cKdRfj0hxId5P83Ouz58BIV9Gi2zLBlX2ZmYo4jK6PI=; b=A5qS+DpzcJw43qRvt0X6AB1iVMJorf6rozVHrzlwED0bf6CYI1rgCKbQKdegR5DHnXKRZS jYMYBN580+USWWE62WD075FOgRmqzyud0rurKtJ2iWxdNZeuNV2aqRXcrCdV8W45Uom96l PpH/Au0yNGL+U/qlH4ql9j36vR5hv7UDojELsJgLYTSxhA6wI11EyeKdZRhb+rGaMPIfVg kBeC8Li54S9p+Pr+Fbayqa7vVQVKcmOxbDCy7kiX2IHu6Wrsz+VGWFsFCmjZ3PzJNcdt+4 ed/ki553FxXQh+xE5P77d6i5149QLD/iKiAWL7K+c0q18QQGAQuoyZqUxm1QEA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1698942342; a=rsa-sha256; cv=none; b=YCpdXfx8HQyKVwyRBBpDQK/vnPCMmOz9CpHOiE57gojpvzs7DHm3VX58sjjs2CSnQEmniM kGCKg1fzuGS2JXEPv1drKgOzqwRu21FU+VDqhNqJfydbmPpCAAPnUHQsXomc3acRB3N40a 26ZhmeD5vhNucK8m2h9fTRAXQs4+OhUVgctUngiu/RjBDQSIebGoOLX7tOUtYBwYyOXhPK 4dDRDjPTGjiE21Tr7iJ4Ivhv5l4L6NtV561NUo75s2ZsnM1FexYhBYhuZ/QDTggLh9AaL/ EgZYjRP6rH6V+3uFX11yUBfThS4XljU97pTu8ezvvyLjNeilbf3sDNoMJRMnZQ== 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 4SLq456dtxzcZ0; Thu, 2 Nov 2023 16:25:41 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3A2GPfQT009890; Thu, 2 Nov 2023 16:25:41 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3A2GPfHo009887; Thu, 2 Nov 2023 16:25:41 GMT (envelope-from git) Date: Thu, 2 Nov 2023 16:25:41 GMT Message-Id: <202311021625.3A2GPfHo009887@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org From: Thierry Thomas Subject: git: 711f7ab1ab59 - 2023Q4 - math/dsdp: adding a SONAME to the shared library List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: thierry X-Git-Repository: ports X-Git-Refname: refs/heads/2023Q4 X-Git-Reftype: branch X-Git-Commit: 711f7ab1ab59b258d91c60213267c34668b3922e Auto-Submitted: auto-generated The branch 2023Q4 has been updated by thierry: URL: https://cgit.FreeBSD.org/ports/commit/?id=711f7ab1ab59b258d91c60213267c34668b3922e commit 711f7ab1ab59b258d91c60213267c34668b3922e Author: Thierry Thomas AuthorDate: 2023-11-01 16:06:15 +0000 Commit: Thierry Thomas CommitDate: 2023-11-02 16:25:06 +0000 math/dsdp: adding a SONAME to the shared library When building math/py-cvxopt the following error is displayed: Error: /usr/local/lib/python3.9/site-packages/cvxopt/dsdp.cpython-39.so is linked to /usr/local/lib/libdsdp.so which does not have a SONAME. math/dsdp needs to be fixed. Since I’m there, also install the static library. PR: 274851 Approved by: yuri 'maintainer) (cherry picked from commit 2a236ba2fb1292066821487f6ad5cf49949705cd) --- math/dsdp/Makefile | 6 ++++-- math/dsdp/files/patch-Makefile | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/math/dsdp/Makefile b/math/dsdp/Makefile index 06588fcb81bf..b8cd5abb1d0e 100644 --- a/math/dsdp/Makefile +++ b/math/dsdp/Makefile @@ -1,6 +1,6 @@ PORTNAME= dsdp DISTVERSION= 5.8 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= math MASTER_SITES= https://www.mcs.anl.gov/hs/software/${PORTNAME:tu}/ DISTNAME= ${PORTNAME:tu}${DISTVERSION} @@ -23,7 +23,7 @@ USE_LDCONFIG= yes ALL_TARGET= all oshared all oshared BINARY_ALIAS= make=${GMAKE} gcc=${CC} -MAKE_ENV= DSDPROOT=${WRKSRC} SH_LD="${CC} -shared" +MAKE_ENV= DSDPROOT=${WRKSRC} SH_LD="${CC} -shared -Wl,-soname,libdsdp.so.0" CFLAGS+= -fPIC PLIST_FILES= bin/dsdp5 \ @@ -32,6 +32,7 @@ PLIST_FILES= bin/dsdp5 \ include/dsdp/dsdplapack.h \ include/dsdp/dsdpmem.h \ include/dsdp/dsdpsys.h \ + lib/libdsdp.a \ lib/libdsdp.so.0 \ lib/libdsdp.so @@ -42,6 +43,7 @@ do-build: # the build fails to build all binaries without being called twice due do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/include/dsdp ${INSTALL_PROGRAM} ${WRKSRC}/bin/dsdp5 ${STAGEDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/lib/libdsdp.a ${STAGEDIR}${PREFIX}/lib ${INSTALL_LIB} ${WRKSRC}/lib/libdsdp.so ${STAGEDIR}${PREFIX}/lib/libdsdp.so.0 (cd ${STAGEDIR}${PREFIX}/lib && ${LN} -s libdsdp.so.0 libdsdp.so) ${INSTALL_DATA} ${WRKSRC}/include/*.h ${STAGEDIR}${PREFIX}/include/dsdp diff --git a/math/dsdp/files/patch-Makefile b/math/dsdp/files/patch-Makefile index 9d1d131f58f7..9e9bd9781648 100644 --- a/math/dsdp/files/patch-Makefile +++ b/math/dsdp/files/patch-Makefile @@ -9,6 +9,6 @@ - ${SH_LD} ${DSDPLIBSO} *.o -o ${DSDPLIBSO}; \ + echo "building ${DSDPLIBSO}" + ${AR} x ${DSDPLIB} -+ $(CC) -shared $(LDFLAGS) -llapack -lblas -lm *.o -o ${DSDPLIBSO}; \ ++ $(SH_LD) $(LDFLAGS) -llapack -lblas -lm *.o -o ${DSDPLIBSO}; \ cd ../ ; \ ${RM} tmp