[oe-commits] Frans Meulenbroeks : modphp: fixed build errors
GIT User account
git at amethyst.openembedded.net
Sat Feb 21 10:06:03 UTC 2009
Module: openembedded.git
Branch: org.openembedded.dev
Commit: 7fb50539fbb2d619951ad35b72e4d5c1503ee80c
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=7fb50539fbb2d619951ad35b72e4d5c1503ee80c
Author: Frans Meulenbroeks <fransmeulenbroeks at gmail.com>
Date: Sat Feb 21 11:04:52 2009 +0100
modphp: fixed build errors
---
packages/modphp/modphp5.inc | 5 +++--
packages/modphp/modphp_5.1.6.bb | 2 +-
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/packages/modphp/modphp5.inc b/packages/modphp/modphp5.inc
index e8701b0..3aaaf03 100644
--- a/packages/modphp/modphp5.inc
+++ b/packages/modphp/modphp5.inc
@@ -13,7 +13,8 @@ inherit autotools
FILES_${PN} = "${libdir}/apache2 /etc"
FILES_${PN}-dbg += "${libdir}/apache2/modules/.debug"
-CFLAGS += " -g -DPTYS_ARE_GETPT -DPTYS_ARE_SEARCHED"
+CFLAGS += " -g -DPTYS_ARE_GETPT -DPTYS_ARE_SEARCHED -I${STAGING_INCDIR_NATIVE}/apache2"
+
EXTRA_OECONF = "--with-apxs2=${STAGING_BINDIR_NATIVE}/apxs \
--without-mysql \
--enable-force-cgi-redirect \
@@ -29,7 +30,7 @@ EXTRA_OECONF = "--with-apxs2=${STAGING_BINDIR_NATIVE}/apxs \
--disable-simplexml \
--disable-libxml \
--disable-dom \
- --with-zlib --with-zlib-dir=${STAGING_DIR_NATIVE}${layout_exec_prefix} \
+ --with-zlib --with-zlib-dir=${STAGING_DIR}${layout_exec_prefix}/.. \
--with-config-file-path=/etc/php/apache2-php5"
# --with-libxml-dir=${STAGING_DIR_NATIVE}${layout_exec_prefix} \
diff --git a/packages/modphp/modphp_5.1.6.bb b/packages/modphp/modphp_5.1.6.bb
index 7c421c1..70a578c 100644
--- a/packages/modphp/modphp_5.1.6.bb
+++ b/packages/modphp/modphp_5.1.6.bb
@@ -1,2 +1,2 @@
include modphp5.inc
-PR ='r2'
+PR ='r3'
More information about the Openembedded-commits
mailing list