From nobody Sat Apr 09 17:20:39 2022 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 1545F1A9C548; Sat, 9 Apr 2022 17:20:40 +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 4KbMMX05c3z3H0H; Sat, 9 Apr 2022 17:20:40 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649524840; 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=pq+3qNke5mNPCtUi6OlWwqswS/mtKjjDyZs0WQSI3Co=; b=roA4ajhh0q5fitzpNF5GyqKxmV5lcNw28Y2oes20MFT/z7ljRaWkp75jBjccl10sC4WPnl dQAkOGegj7AYaQXnhIg3JpG2aD5O+H8YQHukXAk6UpkW9drO30aIKEC4W4jpZjwqJo4tca ujlnCZr2KUcXlK5DW+c0PKAsDyraxmlj6VuLt2XLMgPB3Dy5ufRucR7pr/cWUePrHrtr8/ AAj2+bv5kZTwcPjWDLlhg8ExKuDqSs9+W5UFg36083wBKOQ8TlCLyC/clW3LHeYV0FN3EZ a94+GD/GxhCX0vKFOPddfn77ptq35bZblrYPH9MFHGii1DAefrZgseA2Y/e9LQ== 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 D7E1E1E198; Sat, 9 Apr 2022 17:20:39 +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 239HKdtO038490; Sat, 9 Apr 2022 17:20:39 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 239HKd5K038489; Sat, 9 Apr 2022 17:20:39 GMT (envelope-from git) Date: Sat, 9 Apr 2022 17:20:39 GMT Message-Id: <202204091720.239HKd5K038489@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: 5333878076d5 - main - Mk/Uses: Add new pathfix expression 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: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 5333878076d5416fe363f167fd722e0b51ac7369 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649524840; 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=pq+3qNke5mNPCtUi6OlWwqswS/mtKjjDyZs0WQSI3Co=; b=O89+gqBPPnVgE50b9l9H5Gz7NkohcVi7jd1uHLJh16MrvJixcEcgkhIkxEIrdkkmj9k5c5 L/EAp13qOHZMZvPyV4n44+NKKWRRSuVQVZHCCq56zgO3Yz9b4QcL7+mQ/txnSi9zZAz/ba Q2/2e9CabigrkWPsK++hyxQaxOHbWgN8YczmfpTc/MHb2mn2KC58AnLoiPc1lntFU1pPOt IdBt7A9rN19NVDtQaADzcSrv6c12gdxgE+tFk0NwxHzFU0Pzl/zaAKaYRj6s9+onzk+1r7 BaB+lVy5wXVxcxaXsmHGAcNIdERFBu3OV/dtMLPjzcFM0Z666cVZvE68EtpgDQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649524840; a=rsa-sha256; cv=none; b=u+InLkszBZ2wQsq38w4oBs9AUIq822wv9KrPud6zKFKVTURDerllLQY0WewxzFO+m9oG0z W73AI3bGe4DHvE91wAB58rPU2D3QIfpoLqKLZKLu4FFr6Kt4umb1QvxbUOzHSOhVtIBz5N Fj0ztGVia5Y2zjQnojFDPuOhCdeegoKidRHxouXBXIL1Jmq3wSsYY2SfKkXTx5xxtqm5sm qHeqVgEMvWjm4jYCV01VXN04bEb5I2e7D5wLYabJLHzrPICA9NLAWIIsNgWVxX0peBss4q uvi66LXUN7OqjPTl8Etd1yPtGHzGBn/A9TSyKaUgokilKYMxZJ3CEhhUsF76ng== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=5333878076d5416fe363f167fd722e0b51ac7369 commit 5333878076d5416fe363f167fd722e0b51ac7369 Author: Muhammad Moinur Rahman AuthorDate: 2022-04-09 17:15:43 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2022-04-09 17:20:29 +0000 Mk/Uses: Add new pathfix expression While working on Apertium ecosystem it looks like their entire 500+ applications uses hardcoded pkgconfigdir with (prefix)/share/pkgconfig. This patch adds that regex for easier porting for the huge pile of ports. Reviewed by: tcberner Approved by: portmgr Differential Revision: https://reviews.freebsd.org/D34780 --- Mk/Uses/pathfix.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/Mk/Uses/pathfix.mk b/Mk/Uses/pathfix.mk index 07ede991db54..7593fc923302 100644 --- a/Mk/Uses/pathfix.mk +++ b/Mk/Uses/pathfix.mk @@ -52,6 +52,7 @@ pathfix: s|[(]datadir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g ; \ s|[{]datadir[}]/pkgconfig|(prefix)/libdata/pkgconfig|g ; \ s|[(]prefix[)]/lib/pkgconfig|(prefix)/libdata/pkgconfig|g ; \ + s|[(]prefix[)]/share/pkgconfig|(prefix)/libdata/pkgconfig|g ; \ s|[[:<:]]lib/pkgconfig|libdata/pkgconfig|g; \ s|[(]libdir[)]/bonobo/servers|(prefix)/libdata/bonobo/servers|g' .endfor