mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
683 B

  1. if [ "$prefix_auto" = 1 ] ; then
  2. if [ "$NO_SANITY_CHECK" ] ; then
  3. prefix=$ROCKCFG_PKG_KDE31_CORE_PREFIX
  4. else
  5. for dir in usr opt/kde31 $ROCKCFG_PKG_KDE31_CORE_PREFIX ; do
  6. [ -f "$root/$dir/bin/artsd" ] && prefix="$dir"
  7. done
  8. [ ! -f "$root/$prefix/bin/artsd" ] &&
  9. abort "kdelibs (artsd) is not installed (in prefix $prefix)!"
  10. fi
  11. set_confopt
  12. fi
  13. # make sure the right qt and kde libs are used
  14. export LD_LIBRARY_PATH="$QTDIR/lib:/$prefix/lib:$LD_LIBRARY_PATH"
  15. # KDE specific configure options
  16. confopt="$confopt --with-qt-dir=$QTDIR --with-qt-includes=$QTDIR/include \
  17. --with-qt-libraries=$QTDIR/lib --enable-dnotify"
  18. # --enable-final often breaks things ...