mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 20:20:06 +02:00
Initial .bep and patch for Cherokee. Note that it is not yet building
and needs a bit more work.
This commit is contained in:
31
www-servers/cherokee/cherokee-1.2.101.bep
Normal file
31
www-servers/cherokee/cherokee-1.2.101.bep
Normal 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"
|
||||
21
www-servers/cherokee/patches/cherokee-1.2.101.patch
Normal file
21
www-servers/cherokee/patches/cherokee-1.2.101.patch
Normal 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)
|
||||
Reference in New Issue
Block a user