diff options
author | adam <adam@pkgsrc.org> | 2008-10-28 07:07:58 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2008-10-28 07:07:58 +0000 |
commit | 31446b54ad32fc16a7d00b75085428dc426c0f81 (patch) | |
tree | 88853b2090c0a6c92200447c4a9941abee37f444 /lang/php5/patches | |
parent | 7b00cde013b87d1c0b83733836a2ec7bfaa9f432 (diff) | |
download | pkgsrc-31446b54ad32fc16a7d00b75085428dc426c0f81.tar.gz |
Fix buildling ap-php with APACHE_MPM=worker
Diffstat (limited to 'lang/php5/patches')
-rw-r--r-- | lang/php5/patches/patch-an | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/lang/php5/patches/patch-an b/lang/php5/patches/patch-an index ff1cbbaf9c7..9b170275bc8 100644 --- a/lang/php5/patches/patch-an +++ b/lang/php5/patches/patch-an @@ -1,6 +1,6 @@ -$NetBSD: patch-an,v 1.5 2007/09/02 21:12:42 jdolecek Exp $ +$NetBSD: patch-an,v 1.6 2008/10/28 07:07:59 adam Exp $ ---- configure.orig 2007-09-02 19:32:56.000000000 +0200 +--- configure.orig 2008-04-30 20:37:32.000000000 +0200 +++ configure @@ -12437,7 +12437,7 @@ EOF @@ -11,3 +11,17 @@ $NetBSD: patch-an,v 1.5 2007/09/02 21:12:42 jdolecek Exp $ PHP_SAPI=cgi +@@ -107515,12 +107515,7 @@ old_CC=$CC + if test "$PHP_THREAD_SAFETY" = "yes" && test -n "$ac_cv_pthreads_cflags"; then + CXXFLAGS="$CXXFLAGS $ac_cv_pthreads_cflags" + INLINE_CFLAGS="$INLINE_CFLAGS $ac_cv_pthreads_cflags" +- cat >meta_ccld<<EOF +-#! /bin/sh +-exec $CC $ac_cv_pthreads_cflags \$@ +-EOF +- CC="$abs_builddir/meta_ccld" +- chmod +x meta_ccld ++ CPPFLAGS="$CPPFLAGS $ac_cv_pthreads_cflags" + fi + + if test "$PHP_THREAD_SAFETY" = "yes" && test "$PHP_MYSQL" = "yes"; then |