diff options
author | jlam <jlam@pkgsrc.org> | 2002-10-18 01:32:01 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2002-10-18 01:32:01 +0000 |
commit | 082eaa756eb45e691b1518f30def9c2eed0f607b (patch) | |
tree | 9c58748508b009d3dc50cb3513671a1d000199b3 /audio/oss/files | |
parent | 645212718696bd9a8b1e53b1aa0bf0d0e4dead2f (diff) | |
download | pkgsrc-082eaa756eb45e691b1518f30def9c2eed0f607b.tar.gz |
ui_X.so expects the GTK+-1.x libraries to be in /usr/pkg, so explicitly
set the LD_LIBRARY_PATH in case ${LOCALBASE} != "/usr/pkg".
Diffstat (limited to 'audio/oss/files')
-rw-r--r-- | audio/oss/files/soundconf.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/audio/oss/files/soundconf.sh b/audio/oss/files/soundconf.sh new file mode 100644 index 00000000000..3056e52ea66 --- /dev/null +++ b/audio/oss/files/soundconf.sh @@ -0,0 +1,11 @@ +#!/bin/sh + +# ui_X.so expects the GTK+-1.x libraries to be found in /usr/pkg/lib +if [ -z "${LD_LIBRARY_PATH}" ]; then + LD_LIBRARY_PATH=@PREFIX@/lib +else + LD_LIBRARY_PATH=@PREFIX@/lib:${LD_LIBRARY_PATH} +fi +export LD_LIBRARY_PATH + +exec @OSSLIBDIR@/soundconf "$@" |