Initial .bep and patch for Cherokee. Note that it is not yet building

and needs a bit more work.
This commit is contained in:
Scott McCreary
2012-07-21 00:28:55 +00:00
parent 406ea8e5cd
commit 4a63b914fe
2 changed files with 52 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
DESCRIPTION="Cherokee is an innovative, feature rich, and yet easy to configure open source web server"
HOMEPAGE="http://www.cherokee-project.com"
SRC_URI="http://cherokee.osuosl.org/1.2/1.2.101/cherokee-1.2.101.tar.gz"
REVISION="1"
STATUS_HAIKU="broken"
DEPEND=""
CHECKSUM_MD5="ef47003355a2e368e4d9596cd070ef23"
BUILD {
cd cherokee-1.2.101
libtoolize --force --copy --install
aclocal -I m4
autoheader
automake --add-missing
autoconf
./configure --prefix=`finddir B_COMMON_DIRECTORY`
make
}
INSTALL {
cd cherokee-1.2.101
make install
}
TEST {
cd cherokee-1.2.101
# make test
# make check
}
LICENSE="GNU GPL v2"
COPYRIGHT="2001-2011 Alvaro Lopez Ortega"

View File

@@ -0,0 +1,21 @@
diff -urN cherokee-1.2.101/configure.in cherokee-1.2.101-haiku/configure.in
--- cherokee-1.2.101/configure.in 2011-10-18 18:49:42.034865152 +0000
+++ cherokee-1.2.101-haiku/configure.in 2012-07-19 15:37:24.169869312 +0000
@@ -109,6 +109,9 @@
setenv_is_threadsafe="yes"
libdl="-ldl"
;;
+ *-*-haiku*)
+ libdl=""
+ ;;
*-*-hpux*)
libdl="-ldl"
;;
@@ -324,6 +327,7 @@
AC_CHECK_FUNC(socket, :, [
AC_CHECK_LIB(socket, main)
+ AC_CHECK_LIB(network, socket)
AC_CHECK_LIB(net, main)
AC_CHECK_LIB(nsl_s, main)
AC_CHECK_LIB(nsl, main)