summaryrefslogtreecommitdiff
path: root/source/d/pkg-config/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'source/d/pkg-config/doinst.sh')
-rw-r--r--source/d/pkg-config/doinst.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/d/pkg-config/doinst.sh b/source/d/pkg-config/doinst.sh
new file mode 100644
index 00000000..c8adcd31
--- /dev/null
+++ b/source/d/pkg-config/doinst.sh
@@ -0,0 +1,6 @@
+if [ ! -L usr/share/pkgconfig ]; then
+ mkdir -p usr/lib/pkgconfig 2> /dev/null
+ mv usr/share/pkgconfig/* usr/lib/pkgconfig 2> /dev/null
+ rmdir usr/share/pkgconfig 2> /dev/null
+ ( cd usr/share ; ln -sf ../lib/pkgconfig . 2> /dev/null )
+fi