pkgconfig: also search /system/data/pkgconfig.

for arch independent files.
This commit is contained in:
Jerome Duval
2017-06-04 22:14:02 +02:00
parent d066d09248
commit 6298ae18f3

View File

@@ -7,7 +7,7 @@ for defining the location of documentation tools, for instance."
HOMEPAGE="https://www.freedesktop.org/wiki/Software/pkg-config/"
COPYRIGHT="1994-1996, 1999-2002, 2004-2016 Free Software Foundation, Inc."
LICENSE="GNU GPL v2"
REVISION="1"
REVISION="2"
SOURCE_URI="https://pkg-config.freedesktop.org/releases/pkg-config-$portVersion.tar.gz"
CHECKSUM_SHA256="6fc69c01688c9458a57eb9a1664c9aba372ccda420a02bf4429fe610e7e7d591"
SOURCE_DIR="pkg-config-$portVersion"
@@ -50,6 +50,10 @@ BUILD()
pcPath="$pcPath:`finddir B_USER_DEVELOP_DIRECTORY`$pcPathSubdir"
pcPath="$pcPath:`finddir B_SYSTEM_NONPACKAGED_DEVELOP_DIRECTORY`$pcPathSubdir"
pcPath="$pcPath:`finddir B_SYSTEM_DEVELOP_DIRECTORY`$pcPathSubdir"
pcPath="$pcPath:`finddir B_USER_NONPACKAGED_DATA_DIRECTORY`/pkgconfig"
pcPath="$pcPath:`finddir B_USER_DATA_DIRECTORY`/pkgconfig"
pcPath="$pcPath:`finddir B_SYSTEM_NONPACKAGED_DATA_DIRECTORY`/pkgconfig"
pcPath="$pcPath:`finddir B_SYSTEM_DATA_DIRECTORY`/pkgconfig"
# because we patched configure.ac...
cd glib