Fix apache to use openssl from staging. Fix depends on pcre and expat. NOTE: still...
authorDavid Karlstrom <daka@thg.se>
Sun, 21 Aug 2005 21:27:15 +0000 (21:27 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Sun, 21 Aug 2005 21:27:15 +0000 (21:27 +0000)
packages/apache/apache_2.0.54.bb
packages/apache/files/init [changed mode: 0644->0755]

index 53b27e9..882b7f2 100644 (file)
@@ -1,15 +1,16 @@
 MAINTAINER="David Karlstrom <daka@nslu2-linux.org>"
 SECTION = "net"
-DEPENDS = "openssl"
+DEPENDS = "openssl expat pcre"
 
-PR = "r1"
+PR = "r2"
 
 # ------------------------------------------
 # NOTE: This package is currently only meant
 # to be built nativly on the target device
 # ------------------------------------------
 
-SRC_URI = "http://www.apache.org/dist/httpd/httpd-${PV}.tar.gz"
+SRC_URI = "http://www.apache.org/dist/httpd/httpd-${PV}.tar.gz \
+          "
 
 S = "${WORKDIR}/httpd-${PV}"
 
@@ -39,9 +40,20 @@ FILES_${PN} = "${bindir} ${sbindir} ${libexecdir} ${libdir}/lib*.so.* \
 
 CFLAGS_append = " -DPATH_MAX=4096"
 CFLAGS_prepend = "-I${STAGING_INCDIR}/openssl "
-EXTRA_OECONF = "--enable-ssl --with-ssl=${STAGING_LIBDIR}/.. --enable-dav \
-               --enable-dav-fs --with-dbm=sdbm --with-berkeley-db=no --localstatedir=${localstatedir}/log/apache \
-               --with-gdbm=no --with-ndbm=no --datadir=${datadir}/apache --sysconfdir=${sysconfdir}/apache"
+EXTRA_OECONF = "--enable-ssl \
+               --with-ssl=${STAGING_LIBDIR}/.. \
+               --enable-dav \
+               --enable-dav-fs \
+               --with-dbm=sdbm \
+               --with-berkeley-db=no \
+               --localstatedir=${localstatedir}/log/apache \
+               --with-gdbm=no \
+               --with-ndbm=no \
+               --datadir=${datadir}/apache \
+               --sysconfdir=${sysconfdir}/apache \
+               "
+
+export LD_LIBRARY_PATH=${STAGING_LIBDIR}
 
 do_configure () {
        # Looks like rebuilding configure doesn't work, so we are skipping
old mode 100644 (file)
new mode 100755 (executable)