summaryrefslogtreecommitdiff
path: root/content/apache-2.0.47.oe
diff options
context:
space:
mode:
Diffstat (limited to 'content/apache-2.0.47.oe')
-rw-r--r--content/apache-2.0.47.oe7
1 files changed, 6 insertions, 1 deletions
diff --git a/content/apache-2.0.47.oe b/content/apache-2.0.47.oe
index 74bc5c65b2..5e00a5b7dc 100644
--- a/content/apache-2.0.47.oe
+++ b/content/apache-2.0.47.oe
@@ -1,11 +1,13 @@
SRC_URI = http://ftp.epix.net/apache/httpd/httpd-${PV}.tar.gz
SECTION = net
-DEPENDS = virtual/libc expat pcre libtool
+DEPENDS = virtual/libc expat pcre libtool openssl
RDEPENDS = libc6, libexpat1, libpcre0
S = ${WORKDIR}/httpd-${PV}
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 () {
set -e
oe_runconf
@@ -17,6 +19,9 @@ do_compile () {
${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
}