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.

31 lines
936 B

  1. if [ "$prefix_auto" = 1 ] ; then
  2. if [ "$NO_SANITY_CHECK" ] ; then
  3. prefix=$ROCKCFG_PKG_KDE32_CORE_PREFIX
  4. else
  5. for dir in usr opt/kde32 $ROCKCFG_PKG_KDE32_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. var_append confopt " " "--with-qt-dir=$QTDIR \
  17. --with-qt-includes=$QTDIR/include \
  18. --with-qt-libraries=$QTDIR/lib"
  19. # some feature and optimization settings ...
  20. pkginstalled openldap && var_append confopt ' ' "--with-ldap=$root/$pkg_openldap_prefix"
  21. var_append confopt " " "--with-xinerama --enable-dnotify"
  22. [ $arch = x86 ] && var_append confopt " " "--enable-fast-malloc=full"