summaryrefslogtreecommitdiff
path: root/libraries/qt3/doinst.sh
diff options
context:
space:
mode:
authorNiels Horn <niels.horn@slackbuilds.org>2011-03-24 23:54:54 -0300
committerRobby Workman <rworkman@slackbuilds.org>2011-03-25 23:26:21 -0500
commit4544e04b263f12baa34c1a57f38839d5a3c4e464 (patch)
treee6cd99d4aaf255e0dbc46ef9e81a2a06b702890f /libraries/qt3/doinst.sh
parentd7277dab33344970e645a521bfe7cef240813e9b (diff)
downloadslackbuilds-4544e04b263f12baa34c1a57f38839d5a3c4e464.tar.gz
libraries/qt3: Added (dependency, was removed from Slackware 13.37)
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'libraries/qt3/doinst.sh')
-rw-r--r--libraries/qt3/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/libraries/qt3/doinst.sh b/libraries/qt3/doinst.sh
new file mode 100644
index 0000000000..d57fb03194
--- /dev/null
+++ b/libraries/qt3/doinst.sh
@@ -0,0 +1,9 @@
+## This was causing problems compiling KDE for unknown reasons.
+## So, we'll symlink the libraries into /opt/kde3 again...
+# Add QT library directory to /etc/ld.so.conf:
+if ! grep /opt/kde3/lib etc/ld.so.conf 1> /dev/null 2> /dev/null ; then
+ echo "/opt/kde3/lib" >> etc/ld.so.conf
+fi
+if [ -x /sbin/ldconfig ]; then
+ /sbin/ldconfig 2> /dev/null
+fi