diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2011-08-05 09:04:59 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2011-08-05 09:04:59 +0200 |
commit | 56df778d52d6aa41c812fba42ff1af07e4d1288f (patch) | |
tree | 515df6da350d7b7101a637065b789bda9c717618 /package/pcrepp/patches/patch-configure | |
parent | 4b4200ec896e555cf23ee0dd72f79721e54addcf (diff) |
fix cross-compile under Darwin, better style
Diffstat (limited to 'package/pcrepp/patches/patch-configure')
-rw-r--r-- | package/pcrepp/patches/patch-configure | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/package/pcrepp/patches/patch-configure b/package/pcrepp/patches/patch-configure new file mode 100644 index 000000000..0ee82218e --- /dev/null +++ b/package/pcrepp/patches/patch-configure @@ -0,0 +1,20 @@ +--- pcre++-0.9.5.orig/configure 2004-08-25 01:38:03.000000000 +0200 ++++ pcre++-0.9.5/configure 2011-08-05 07:30:53.000000000 +0200 +@@ -8612,7 +8612,7 @@ if test "x$with_pcre_include" = "x"; the + CPPFLAGS="$CPPFLAGS -I/include" + ;; + *-*-linux*) +- CPPFLAGS="$CPPFLAGS `pcre-config --cflags` -I/usr/include -I/usr/local/include" ++ CPPFLAGS="$CPPFLAGS `pcre-config --cflags`" + ;; + *-*-freebsd*) + CPPFLAGS="$CPPFLAGS `pcre-config --cflags` -I/usr/local/include" +@@ -8621,7 +8621,7 @@ if test "x$with_pcre_include" = "x"; the + CPPFLAGS="$CPPFLAGS `pcre-config --cflags` -I$prefix/include -I/usr/local/include" + ;; + *) +- CPPFLAGS="-I/usr/include -I/usr/local/include" ++ CPPFLAGS="$CPPFLAGS `pcre-config --cflags`" + ;; + esac + fi |