summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2003-10-16 21:01:43 +0000
committerChris Larson <clarson@kergoth.com>2003-10-16 21:01:43 +0000
commitb036b282765fab85d83c1cf9c3bafa61908480f7 (patch)
tree3c262b3290ecb1956a7b082ec2ab9ff399ba32ad
parentb60648e1493e8a9bb219a2c5fd782e6c0000a25b (diff)
apache: Add a patch to set NEWLINE properly when pcre's configure gets regenerated with our autotools.
BKrev: 3f8f07370boFZmhEUy3FdLaUQPfVwA
-rw-r--r--apache/apache-2.0.47/pcre-configure.patch0
-rw-r--r--apache/apache_2.0.47.oe28
2 files changed, 28 insertions, 0 deletions
diff --git a/apache/apache-2.0.47/pcre-configure.patch b/apache/apache-2.0.47/pcre-configure.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/apache/apache-2.0.47/pcre-configure.patch
diff --git a/apache/apache_2.0.47.oe b/apache/apache_2.0.47.oe
index e69de29bb2..cee55d3c2a 100644
--- a/apache/apache_2.0.47.oe
+++ b/apache/apache_2.0.47.oe
@@ -0,0 +1,28 @@
+SRC_URI = http://ftp.epix.net/apache/httpd/httpd-${PV}.tar.gz \
+ file://${FILESDIR}/pcre-configure.patch;patch=1
+SECTION = net
+DEPENDS = virtual/libc expat openssl
+RDEPENDS = libc6, libexpat1, libssl0.9.7
+
+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
+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
+}