[oe] [meta-webserver][PATCH 3/6] modphp: add from OE-Classic
Paul Eggleton
paul.eggleton at linux.intel.com
Wed Oct 3 11:28:08 UTC 2012
On Wednesday 03 October 2012 12:20:16 Koen Kooi wrote:
> Op 01-10-12 18:14, Paul Eggleton schreef:
> > No modifications in this commit (apart from not copying some unneeded
> > files).
Again, this is the OE-Classic version prior to updating/fixing.
> > +RDEPENDS_${PN} = "apache2"
>
> That one goes below do_installed
Fixed in the branch.
> > +DEPENDS = "apache2-native apache2 zlib" + +#SRC_URI =
> > "http://de3.php.net/distributions/php-${PV}.tar.bz2 \
>
> remove that one
Already removed in the patch following.
> > +SRC_URI = "http://museum.php.net/php5/php-${PV}.tar.bz2 \ +
> > file://configure.patch \ + " + +S = "${WORKDIR}/php-${PV}" + +inherit
> > autotools + +FILES_${PN} = "${libdir}/apache2 /etc"
>
> $sysconfdir
Already fixed in the patch following.
> > +FILES_${PN}-dbg += "${libdir}/apache2/modules/.debug"
>
> and move below do_install
Already fixed in the patch following.
> > + +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 \ + --disable-cgi
\ +
> > --disable-cli \ + --disable-pdo \ + --without-pear \ + --
without-iconv
> > \ + --disable-ipv6 \ + --disable-xml \ + --disable-xmlreader \ +
> > --disable-xmlwriter \ + --disable-simplexml \ + --disable-libxml
\ +
> > --disable-dom \ + --with-zlib
> > --with-zlib-dir=${STAGING_DIR}${layout_exec_prefix}/.. \ +
> > --with-config-file-path=/etc/php/apache2-php5"
>
> whitespace errors
Already fixed in the patch following. (Did you look at those patches?)
> > +# --with-libxml-dir=${STAGING_DIR_NATIVE}${layout_exec_prefix} \
>
> remove
OK, I'll give you that one. Fixed in the branch.
> > + +# to get postgres support, add it to the DEPENDS above +# and
> > uncomment this line. similar for mysql +#EXTRA_OECONF += "
> > --with-pgsql=${STAGING_DIR_HOST}${layout_exec_prefix}"
>
> That is a PACKAGECONFIG change
We can make that enhancement at a later date, until then the comment is
helpful.
> > diff --git a/meta-webserver/recipes-php/modphp/modphp_5.1.6.bb
> > b/meta-webserver/recipes-php/modphp/modphp_5.1.6.bb new file mode 100644
> > index 0000000..a75a742 --- /dev/null +++
> > b/meta-webserver/recipes-php/modphp/modphp_5.1.6.bb @@ -0,0 +1,5 @@
> > +include modphp5.inc
> > +PR ='r3'
>
> Double quotes are preferred, but I'm tempted to just say "drop the PR
> entirely"
I've already set it to "r0" using double quotes in the patch following.
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
More information about the Openembedded-devel
mailing list