git: 5333878076d5 - main - Mk/Uses: Add new pathfix expression
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 09 Apr 2022 17:20:39 UTC
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