]> git.openpandora.org Git - openembedded.git/commitdiff
modphp: fixed build errors
authorFrans Meulenbroeks <fransmeulenbroeks@gmail.com>
Sat, 21 Feb 2009 10:04:52 +0000 (11:04 +0100)
committerFrans Meulenbroeks <fransmeulenbroeks@gmail.com>
Sat, 21 Feb 2009 10:04:52 +0000 (11:04 +0100)
packages/modphp/modphp5.inc
packages/modphp/modphp_5.1.6.bb

index e8701b0b99b26deca341e44d21ebcc22c14d0eba..3aaaf03e62ca5fb2fd5462c027ceb6c279965112 100644 (file)
@@ -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} \
index 7c421c1d0fac5b9474df3e57b975ae7667f9be82..70a578cd0ad7db5b204c3888dd4db4ab9001fdd3 100644 (file)
@@ -1,2 +1,2 @@
 include modphp5.inc
-PR ='r2'
+PR ='r3'