From 49d556a979bfca682424289d64817cc908f18397 Mon Sep 17 00:00:00 2001 From: Aldas Nabazas Date: Thu, 16 Apr 2009 16:31:38 +0300 Subject: [PATCH] kdelibs: simplified kde4 build reusing code from cmake --- kde/kdelibs/parse-config | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/kde/kdelibs/parse-config b/kde/kdelibs/parse-config index 1623cfba0..3cb38c7f7 100644 --- a/kde/kdelibs/parse-config +++ b/kde/kdelibs/parse-config @@ -29,15 +29,7 @@ if hasflag KDE; then export PATH="$(pkgprefix bindir qt4):$PATH" export LD_LIBRARY_PATH="$QTDIR/${libdir##*/}:/$prefix/${libdir##*/}:$LD_LIBRARY_PATH" - kde_cmake() - { - mkdir build; cd build - var_remove_regex confopt ' ' '--.*' - var_remove_regex extraconfopt ' ' '--.*' - var_append extraconfopt " " "-DCMAKE_INSTALL_PREFIX=/$prefix -DCMAKE_LIBRARY_PATH=$libdir" - eval cmake $confopt $extraconfopt .. - } + . $base/package/*/*/cmake-conf.in - hook_add preconf 3 "kde_cmake" fi