if [ "$prefix_auto" = 1 ] ; then if [ "$NO_SANITY_CHECK" ] ; then prefix=$ROCKCFG_PKG_KDE3_CORE_PREFIX else for dir in usr opt/kde3 $ROCKCFG_PKG_KDE3_CORE_PREFIX ; do [ -f "$root/$dir/bin/artsd" ] && prefix="$dir" done [ ! -f "$root/$prefix/bin/artsd" ] && abort "kdelibs (artsd) is not installed (in prefix $prefix)!" fi set_confoptfi # make sure the right qt and kde libs are usedexport LD_LIBRARY_PATH="$QTDIR/lib:/$prefix/lib:$LD_LIBRARY_PATH" # KDE specific configure optionsvar_append confopt " " "--with-qt-dir=$QTDIR \ --with-qt-includes=$QTDIR/include \ --with-qt-libraries=$QTDIR/lib" # some feature and optimization settings ... pkginstalled openldap && var_append confopt ' ' "--with-ldap=$root/$pkg_openldap_prefix"var_append confopt " " "--with-xinerama --enable-dnotify" [ "$arch" = "x86" -a "ROCKCFG_X86_BITS" = "32" ] && \ var_append confopt " " "--enable-fast-malloc=full" # keep .la files in the main packages, kde needs them at runtimesplitreg 45 . '/.*\.la$'
if [ "$prefix_auto" = 1 ] ; then
if [ "$NO_SANITY_CHECK" ] ; then
prefix=$ROCKCFG_PKG_KDE3_CORE_PREFIX
else
for dir in usr opt/kde3 $ROCKCFG_PKG_KDE3_CORE_PREFIX ; do
[ -f "$root/$dir/bin/artsd" ] && prefix="$dir"
done
[ ! -f "$root/$prefix/bin/artsd" ] &&
abort "kdelibs (artsd) is not installed (in prefix $prefix)!"
fi
set_confopt
# make sure the right qt and kde libs are used
export LD_LIBRARY_PATH="$QTDIR/lib:/$prefix/lib:$LD_LIBRARY_PATH"
# KDE specific configure options
var_append confopt " " "--with-qt-dir=$QTDIR \
--with-qt-includes=$QTDIR/include \
--with-qt-libraries=$QTDIR/lib"
# some feature and optimization settings ...
pkginstalled openldap && var_append confopt ' ' "--with-ldap=$root/$pkg_openldap_prefix"
var_append confopt " " "--with-xinerama --enable-dnotify"
[ "$arch" = "x86" -a "ROCKCFG_X86_BITS" = "32" ] && \
var_append confopt " " "--enable-fast-malloc=full"
# keep .la files in the main packages, kde needs them at runtime
splitreg 45 . '/.*\.la$'