diff options
author | Treeve Jelbert | 2007-12-16 10:25:56 +0100 |
---|---|---|
committer | Treeve Jelbert | 2007-12-16 10:25:56 +0100 |
commit | 04852756d5aff290de817e9a45377c320545406f (patch) | |
tree | bd1fe2b276bc58c6584ebc79db679794b3366172 /FUNCTIONS | |
parent | cb6a6c0d77661ae8bab646a59c7091626d27609e (diff) |
update kde3 build process
Diffstat (limited to 'FUNCTIONS')
-rwxr-xr-x | FUNCTIONS | 37 |
1 files changed, 37 insertions, 0 deletions
@@ -652,3 +652,40 @@ function get_kernel_config() fi } +# this is mostly copied from sorcery real_default_sorcery_build, +# and kde-apps/KDE_BUILD + +# we need a different --includedir value for KDE3 spells, +# so as to avoid conflicts with KDE4 + +function default_kde3_build() { + + if [[ -f /etc/profile.d/qt.sh ]]; then + . /etc/profile.d/qt.sh + fi && + OPTS="$KDE_DEBUG_OPTION \ + $KDE_FINAL_OPTION \ + $KDE_LDFLAGS \ + --enable-dnotify \ + --with-distribution \ + --disable-dependency-tracking \ + $OPTS" && + + OPTS="$OPTS --build=${BUILD}" + #If these switches are used, they _may_ stop distcc and ccache from working + # for some spells (bug 3798) + # We could write wrappers for all of the possible binaries + [[ $CROSS_INSTALL == on ]] && OPTS="$OPTS --host=${HOST}" + + ./configure --prefix=${INSTALL_ROOT}/usr \ + --sysconfdir=${INSTALL_ROOT}/etc \ + --localstatedir=${INSTALL_ROOT}/var \ + --mandir=${INSTALL_ROOT}/usr/share/man \ + --infodir=${INSTALL_ROOT}/usr/share/info \ + --includedir=${INSTALL_ROOT}/usr/include/kde3 \ + $OPTS && + make + +} + + |