Date: Sat, 9 Apr 2022 17:20:39 GMT From: Muhammad Moinur Rahman <bofh@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 5333878076d5 - main - Mk/Uses: Add new pathfix expression Message-ID: <202204091720.239HKd5K038489@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=5333878076d5416fe363f167fd722e0b51ac7369 commit 5333878076d5416fe363f167fd722e0b51ac7369 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2022-04-09 17:15:43 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202204091720.239HKd5K038489>