Author: sten Date: 2006-02-05 04:16:41 +0100 (Sun, 05 Feb 2006) New Revision: 676 Added: crux-2.1/ports/opt/kdelibs/kdelibs-3.5.1-pcre.patch Modified: crux-2.1/ports/opt/kdelibs/.md5sum crux-2.1/ports/opt/kdelibs/Pkgfile Log: kdelibs: let ./configure find libpcre Modified: crux-2.1/ports/opt/kdelibs/.md5sum =================================================================== --- crux-2.1/ports/opt/kdelibs/.md5sum 2006-02-05 00:40:16 UTC (rev 675) +++ crux-2.1/ports/opt/kdelibs/.md5sum 2006-02-05 03:16:41 UTC (rev 676) @@ -1,2 +1,3 @@ d5fcdb478e741831e6ce992f670eba1e 10888-bt.tar.gz +608d63a4570e5f94771169d4fcd69fc2 kdelibs-3.5.1-pcre.patch 2a22193ae7c23f3759b02723dab02d30 kdelibs-3.5.1.tar.bz2 Modified: crux-2.1/ports/opt/kdelibs/Pkgfile =================================================================== --- crux-2.1/ports/opt/kdelibs/Pkgfile 2006-02-05 00:40:16 UTC (rev 675) +++ crux-2.1/ports/opt/kdelibs/Pkgfile 2006-02-05 03:16:41 UTC (rev 676) @@ -6,12 +6,14 @@ name=kdelibs version=3.5.1 -release=1 +release=2 source=(http://download.kde.org/stable/3.5.1/src/$name-$version.tar.bz2 \ - http://www.kde-look.org/content/files/10888-bt.tar.gz) + http://www.kde-look.org/content/files/10888-bt.tar.gz \ + kdelibs-3.5.1-pcre.patch) build() { cd $name-$version + patch -p1 -i $SRC/kdelibs-3.5.1-pcre.patch ./configure --prefix=/usr \ --with-distribution="CRUX Linux" \ --enable-sendfile \ Added: crux-2.1/ports/opt/kdelibs/kdelibs-3.5.1-pcre.patch =================================================================== --- crux-2.1/ports/opt/kdelibs/kdelibs-3.5.1-pcre.patch 2006-02-05 00:40:16 UTC (rev 675) +++ crux-2.1/ports/opt/kdelibs/kdelibs-3.5.1-pcre.patch 2006-02-05 03:16:41 UTC (rev 676) @@ -0,0 +1,37 @@ +diff -Nru kdelibs-3.5.1-old/configure kdelibs-3.5.1/configure +--- kdelibs-3.5.1-old/configure 2006-02-04 23:33:36.000000000 +0100 ++++ kdelibs-3.5.1/configure 2006-02-04 23:36:12.000000000 +0100 +@@ -51445,6 +51445,7 @@ + cat confdefs.h >>conftest.$ac_ext + cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ ++#include <pcre.h> + #include <pcreposix.h> + int + main () +diff -Nru kdelibs-3.5.1-old/configure.in kdelibs-3.5.1/configure.in +--- kdelibs-3.5.1-old/configure.in 2006-02-04 23:33:37.000000000 +0100 ++++ kdelibs-3.5.1/configure.in 2006-02-04 23:36:51.000000000 +0100 +@@ -1948,7 +1948,8 @@ + ac_LDFLAGS_save="$LDFLAGS" + LDFLAGS="$LDFLAGS $all_libraries" + AC_TRY_LINK( +- [#include <pcreposix.h>], ++ [#include <pcre.h> ++#include <pcreposix.h>], + [regfree(0);], + [ac_cv_have_pcreposix="yes"], + [ac_cv_have_pcreposix="no"] +diff -Nru kdelibs-3.5.1-old/kjs/configure.in.in kdelibs-3.5.1/kjs/configure.in.in +--- kdelibs-3.5.1-old/kjs/configure.in.in 2006-02-04 23:33:32.000000000 +0100 ++++ kdelibs-3.5.1/kjs/configure.in.in 2006-02-04 23:37:35.000000000 +0100 +@@ -38,7 +38,8 @@ + ac_LDFLAGS_save="$LDFLAGS" + LDFLAGS="$LDFLAGS $all_libraries" + AC_TRY_LINK( +- [#include <pcreposix.h>], ++ [#include <pcre.h> ++#include <pcreposix.h>], + [regfree(0);], + [ac_cv_have_pcreposix="yes"], + [ac_cv_have_pcreposix="no"]