summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2003-11-02 04:08:22 +0000
committerChris Larson <clarson@kergoth.com>2003-11-02 04:08:22 +0000
commit8149175b4d2298e25ae77cf7a139573cbafc196e (patch)
treec5a2f5daee92001fb8d6c57e51e72289ff1025c7
parentac380b593c1e5054545b7184e39246849ab051e9 (diff)
Fix the apache 2.0.48 build.
BKrev: 3fa48336w_1rsOcavDdA2WPY8gw2xw
-rw-r--r--apache/apache_2.0.48.oe31
-rw-r--r--pkgconfig/pkgconfig-0.15.0/config.patch0
2 files changed, 31 insertions, 0 deletions
diff --git a/apache/apache_2.0.48.oe b/apache/apache_2.0.48.oe
index e69de29bb2..fecb3dbfd6 100644
--- a/apache/apache_2.0.48.oe
+++ b/apache/apache_2.0.48.oe
@@ -0,0 +1,31 @@
+SRC_URI = http://ftp.epix.net/apache/httpd/httpd-${PV}.tar.gz \
+ file://${FILESDIR}/configure.patch;patch=1 \
+ file://${FILESDIR}/pcre-configure.patch;patch=1
+SECTION = net
+DEPENDS = virtual/libc expat openssl zlib db3
+RDEPENDS = libc6 expat openssl zlib db3
+
+S = ${WORKDIR}/httpd-${PV}
+
+inherit autotools libtool
+
+CFLAGS_append = " -DPATH_MAX=4096"
+CFLAGS_prepend = "-I${STAGING_DIR}/target/include/openssl "
+EXTRA_OECONF = '--enable-ssl --with-ssl=${STAGING_DIR}/target \
+ --enable-dav --enable-dav-fs \
+ --with-z=${STAGING_DIR}/target --with-dbm=db3'
+do_compile () {
+ touch srclib/apr-util/uri/gen_uri_delims.lo
+ ${BUILD_CC} srclib/apr-util/uri/gen_uri_delims.c -o srclib/apr-util/uri/gen_uri_delims
+ touch srclib/pcre/dftables.lo
+ ${BUILD_CC} -I/usr/include/pcre srclib/pcre/dftables.c -o srclib/pcre/dftables
+ cd server
+ ${BUILD_CC} -I${S}/srclib/apr/include -c gen_test_char.c && touch gen_test_char.lo
+ ${BUILD_CC} -I${S}/os/unix -I${S}/srclib/apr/include -I${S}/srclib/apr-util/include -I${S}/include -c util_debug.c && touch util_debug.lo
+ ${BUILD_CC} gen_test_char.o util_debug.o -o gen_test_char
+ /bin/sh ${S}/srclib/apr/libtool --silent --mode=compile ${CC} -DPATH_MAX=4096 -I${S}/srclib/apr/include -prefer-non-pic -static -c gen_test_char.c && touch gen_test_char.lo
+ /bin/sh ${S}/srclib/apr/libtool --silent --mode=compile ${CC} -DPATH_MAX=4096 -I${S}/os/unix -I${S}/srclib/apr/include -I${S}/srclib/apr-util/include -I${S}/include -prefer-non-pic -static -c util_debug.c && touch util_debug.lo
+ touch gen_test_char
+ cd ..
+ oe_runmake
+}
diff --git a/pkgconfig/pkgconfig-0.15.0/config.patch b/pkgconfig/pkgconfig-0.15.0/config.patch
deleted file mode 100644
index e69de29bb2..0000000000
--- a/pkgconfig/pkgconfig-0.15.0/config.patch
+++ /dev/null