From nobody Wed Aug 16 19:52:01 2023 X-Original-To: dev-commits-ports-main@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 4RQzL955rNz4TnCJ; Wed, 16 Aug 2023 19:52:01 +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 4RQzL94gKZz3bXw; Wed, 16 Aug 2023 19:52:01 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692215521; 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=On2pMWkJoj0faNusQKn7Lke3lGFF4ph+aLk/MWrKSvI=; b=cE1GRAVRNmpATlzBrUME5PAt8M4LlkACxO839lULxf3AcPKCQ65DSl4/ixBVIJofY2ZSGJ +h8tj/oSuFHQXtjdQOBfG4owHNk/u08ZlfNz/RV/Ymz0ylbLrs08NbQPTFbnySkSoXK0x9 kmvlLlqYpfm8ve/QRGDacpHSf9mEZQC2cj+q93iNr0+EcrM59SF574gQzQiqfqjAD9pGLU 51i3gF0YX8YaLvi1gk35xY6lCZ0GoHK9rr0EYA5Uf8WXZR6JiTR6Lsyax1Eim575zNwVwk 9XD3OtHJcGZIEJpwJ3A56W5lx7ujw7S7ARe4GoHMgG+jDnwyKlNOoI0TYoDCmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692215521; 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=On2pMWkJoj0faNusQKn7Lke3lGFF4ph+aLk/MWrKSvI=; b=NqgaQByWC9aDv97Q7VlZL8FqRHsko06oYhF5pXPZmn2+cetbfHvYQzffG1IbPfd3OHVf+8 7IbZlf0RrsbO2S+3rXz4y9eyRPPXU9TdbzQT8DHq6TYh0GLwMUU1WdzDgyeYAYgOk8B1Xr f0mrW66u8wFmEbvBGt/W1639JoEQtVIr1o1S/A1vwpkqc3DkIvaIYnh91P9sspK8OB49JW 8FaiHHMu0hIF6TXDxfPrHFERAWfV+UEiCpKZNJa008iaPPBTx316jZ+whQ1CWyDSUJTqFL E1VhZLlxRUPsW6OvpyXGiAi0INNseo6K9CkpA+jRhc6iQLP3o+PtpjAYHmsWhQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1692215521; a=rsa-sha256; cv=none; b=YTvCVS8IeIvJhsfm1x+ZkEH0YY+qCFtltGjhp5tejFXipDRSHYSe+BgA5/FLDYjrspbxur J22mrsTbIoaByoBpq6yeworVrZ528W4xSAvol079e3f8I8+y+rBsQrTYnDTyzN3hbe1jCO l52rsp871EIu4WJdWNgwgCbZituLEQdrocfeErsefYuHlkkEtrXP9T7X9K6veoJiDO0bJQ Z3xjFwMU692e0amJmsDf5VV7ESAEC3UyX5Vb4PicH9EWnb+ryqx0G/1DMyOjt2dwMSMbld 94eb53PQUPSMkyr0SbUKTd8lGaQdtOpUNA87bjRaI9vhkeYBGVJVNbIe5+Nq6A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4RQzL93kxGz14Qf; Wed, 16 Aug 2023 19:52:01 +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 37GJq1xM077445; Wed, 16 Aug 2023 19:52:01 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 37GJq1bM077442; Wed, 16 Aug 2023 19:52:01 GMT (envelope-from git) Date: Wed, 16 Aug 2023 19:52:01 GMT Message-Id: <202308161952.37GJq1bM077442@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 8eecebff18b6 - main - devel/libinjection: Add SONAME List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8eecebff18b6b3c02e1ad78f0f621fb5847ec765 Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=8eecebff18b6b3c02e1ad78f0f621fb5847ec765 commit 8eecebff18b6b3c02e1ad78f0f621fb5847ec765 Author: Po-Chuan Hsieh AuthorDate: 2023-08-16 19:51:36 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-08-16 19:51:36 +0000 devel/libinjection: Add SONAME - Bump PORTREVISION for package change --- devel/libinjection/Makefile | 5 ++++- devel/libinjection/files/patch-Makefile | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/devel/libinjection/Makefile b/devel/libinjection/Makefile index 7aa44166964c..97a2ddbd3f6d 100644 --- a/devel/libinjection/Makefile +++ b/devel/libinjection/Makefile @@ -1,6 +1,6 @@ PORTNAME= libinjection PORTVERSION= 3.10.0 -PORTREVISION= 1 +PORTREVISION= 2 DISTVERSIONPREFIX= v CATEGORIES= devel @@ -19,6 +19,9 @@ USE_GITHUB= yes SHEBANG_GLOB= *.py +post-patch: + @${REINPLACE_CMD} -e 's|%%SHLIB_VER%%|${PORTVERSION:R:R}|' ${WRKSRC}/Makefile + do-install: ${INSTALL_DATA} ${WRKSRC}/libinjection*.h ${STAGEDIR}${PREFIX}/include/ ${INSTALL_DATA} ${WRKSRC}/libinjection.a ${STAGEDIR}${PREFIX}/lib/libinjection.a diff --git a/devel/libinjection/files/patch-Makefile b/devel/libinjection/files/patch-Makefile index 3469da190083..d25604d3fd81 100644 --- a/devel/libinjection/files/patch-Makefile +++ b/devel/libinjection/files/patch-Makefile @@ -5,7 +5,7 @@ ${SHAREDLIB}: ${OBJECTS} - $(CC) $+ -shared -lc -o $@ -+ $(CC) ${OBJECTS} -shared -lc -o $@ ++ $(CC) ${OBJECTS} -shared -Wl,-soname,libinjection.so.%%SHLIB_VER%% -lc -o $@ ${STATICLIB}: ${OBJECTS} rm -f ${STATICLIB}