summaryrefslogtreecommitdiffstats
path: root/patches/source/pkg-config/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'patches/source/pkg-config/scripts')
-rwxr-xr-xpatches/source/pkg-config/scripts/pkgconfig.csh6
-rwxr-xr-xpatches/source/pkg-config/scripts/pkgconfig.sh7
2 files changed, 13 insertions, 0 deletions
diff --git a/patches/source/pkg-config/scripts/pkgconfig.csh b/patches/source/pkg-config/scripts/pkgconfig.csh
new file mode 100755
index 00000000..da9a45a6
--- /dev/null
+++ b/patches/source/pkg-config/scripts/pkgconfig.csh
@@ -0,0 +1,6 @@
+#!/bin/csh
+if ( $?PKG_CONFIG_PATH ) then
+ setenv PKG_CONFIG_PATH ${PKG_CONFIG_PATH}:/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig
+else
+ setenv PKG_CONFIG_PATH /usr/local/lib/pkgconfig:/usr/local/share/pkgconfig:/usr/lib/pkgconfig:/usr/share/pkgconfig
+endif
diff --git a/patches/source/pkg-config/scripts/pkgconfig.sh b/patches/source/pkg-config/scripts/pkgconfig.sh
new file mode 100755
index 00000000..96e07c4f
--- /dev/null
+++ b/patches/source/pkg-config/scripts/pkgconfig.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+if [ ! "$PKG_CONFIG_PATH" = "" ]; then
+ PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig
+else
+ PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig:/usr/lib/pkgconfig:/usr/share/pkgconfig
+fi
+export PKG_CONFIG_PATH