Patchwork [2/7] apache2: drop unneeded workaround for apr/apr-util config script issue

login
register
mail settings
Submitter Paul Eggleton
Date May 10, 2013, 6:09 p.m.
Message ID <3804f2c37d91fe6e8923bdd4dc9c2305987f6ca5.1368209301.git.paul.eggleton@linux.intel.com>
Download mbox | patch
Permalink /patch/49757/
State Accepted, archived
Commit 13ab18503fd33dd9aa0b560b1f2cbeeb97d5ae12
Headers show

Comments

Paul Eggleton - May 10, 2013, 6:09 p.m.
The fix for the apr-1-config/apu-1-config path issue has been in OE-Core
for some time now (OE-Core commit
ab56f1063a666df5faddd97f44758c8ae378e51c) so we no longer need these
workarounds.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
---
 meta-webserver/recipes-httpd/apache2/apache2_2.4.4.bb | 13 ++-----------
 1 file changed, 2 insertions(+), 11 deletions(-)

Patch

diff --git a/meta-webserver/recipes-httpd/apache2/apache2_2.4.4.bb b/meta-webserver/recipes-httpd/apache2/apache2_2.4.4.bb
index 42a7b16..cf1e469 100644
--- a/meta-webserver/recipes-httpd/apache2/apache2_2.4.4.bb
+++ b/meta-webserver/recipes-httpd/apache2/apache2_2.4.4.bb
@@ -31,8 +31,8 @@  CFLAGS_prepend = "-I${STAGING_INCDIR}/openssl "
 EXTRA_OECONF = "--enable-ssl \
     --with-ssl=${STAGING_LIBDIR}/.. \
     --with-expat=${STAGING_LIBDIR}/.. \
-    --with-apr=${WORKDIR}/apr-1-config \
-    --with-apr-util=${WORKDIR}/apu-1-config \
+    --with-apr=${STAGING_BINDIR_CROSS}/apr-1-config \
+    --with-apr-util=${STAGING_BINDIR_CROSS}/apu-1-config \
     --enable-info \
     --enable-rewrite \
     --with-dbm=sdbm \
@@ -48,15 +48,6 @@  EXTRA_OECONF = "--enable-ssl \
     --enable-mpms-shared \
     ac_cv_have_threadsafe_pollset=no"
 
-do_configure_prepend() {
-    # FIXME: this hack is required to work around an issue with apr/apr-util
-    # Can be removed when fixed in OE-Core (also revert --with-* options above)
-    # see http://bugzilla.yoctoproject.org/show_bug.cgi?id=3267
-    cp ${STAGING_BINDIR_CROSS}/apr-1-config ${STAGING_BINDIR_CROSS}/apu-1-config ${WORKDIR}
-    sed -i -e 's:location=source:location=installed:' ${WORKDIR}/apr-1-config
-    sed -i -e 's:location=source:location=installed:' ${WORKDIR}/apu-1-config
-}
-
 do_install_append() {
     install -d ${D}/${sysconfdir}/init.d
     cat ${WORKDIR}/init | \