diff options
author | clement <clement@FreeBSD.org> | 2004-01-14 06:12:11 +0800 |
---|---|---|
committer | clement <clement@FreeBSD.org> | 2004-01-14 06:12:11 +0800 |
commit | 27f9641345a8af3cabfd5de1c4a809b9a7cf7bb1 (patch) | |
tree | 257bfc8649edbf6c6dbc60717ce2c7ea9fabea2e /www/apache20 | |
parent | 680e1311a8b2fb6b910089dce85255a5fa1e725a (diff) | |
download | freebsd-ports-gnome-27f9641345a8af3cabfd5de1c4a809b9a7cf7bb1.tar.gz freebsd-ports-gnome-27f9641345a8af3cabfd5de1c4a809b9a7cf7bb1.tar.zst freebsd-ports-gnome-27f9641345a8af3cabfd5de1c4a809b9a7cf7bb1.zip |
- Remove thread support in apr. The code prevents apache from running
on > 4.8-STABLE (from september 2003) system because apache2 used
libc_r instead of libc.
Compiling with -lkse (on -CURRENT) was broken too.
- bump PORTREVISION to force users to upgrade.
NOTE: on -STABLE DO NOT DEFINE WITH_THREADS.
(unless you use a threaded MPM)
Thanks to Fritz Heinrichmeyer <fritz.heinrichmeyer@fernuni-hagen.de>
who helped me to track the problem.
Noticed by: Fritz Heinrichmeyer <fritz.heinrichmeyer@fernuni-hagen.de>
HAYASHI, "Lef" Tatsuya <lef@st.rim.or.jp> [1]
PR: 61317 [1]
Approved by: erwin (mentor) (implicitly)
Diffstat (limited to 'www/apache20')
-rw-r--r-- | www/apache20/Makefile | 2 | ||||
-rw-r--r-- | www/apache20/files/patch-srclib:apr:build:apr_hints.m4 | 25 |
2 files changed, 1 insertions, 26 deletions
diff --git a/www/apache20/Makefile b/www/apache20/Makefile index 0126742e7be2..cf67fa794915 100644 --- a/www/apache20/Makefile +++ b/www/apache20/Makefile @@ -9,7 +9,7 @@ PORTNAME= apache PORTVERSION= 2.0.48 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= www ipv6 MASTER_SITES= ${MASTER_SITE_APACHE_HTTPD} \ http://sheepkiller.nerim.net/ports/${PORTNAME}/:powerlogo diff --git a/www/apache20/files/patch-srclib:apr:build:apr_hints.m4 b/www/apache20/files/patch-srclib:apr:build:apr_hints.m4 deleted file mode 100644 index 444351563b7f..000000000000 --- a/www/apache20/files/patch-srclib:apr:build:apr_hints.m4 +++ /dev/null @@ -1,25 +0,0 @@ ---- srclib/apr/build/apr_hints.m4.orig Tue Jun 3 00:52:28 2003 -+++ srclib/apr/build/apr_hints.m4 Mon Jan 5 12:36:32 2004 -@@ -130,14 +130,15 @@ - APR_ADDTO(CPPFLAGS, [-DNETBSD]) - ;; - *-freebsd*) -- case $host in -- *freebsd[2345]*) -- APR_ADDTO(CFLAGS, [-funsigned-char]) -- ;; -- esac -- APR_SETIFNULL(enable_threads, [no]) -+ os_version=`sysctl -n kern.osreldate` -+ APR_ADDTO(CFLAGS, [-funsigned-char]) - APR_SETIFNULL(apr_lock_method, [USE_FLOCK_SERIALIZE]) -- APR_ADDTO(CPPFLAGS, [-D_REENTRANT -D_THREAD_SAFE]) -+ if test $os_version -lt "500016"; then -+ ac_cv_pthreads_cflags="-D_THREAD_SAFE -D_REENTRANT" -+ LIBS="$LIBS -pthread" -+ else -+ ac_cv_pthreads_lib="c_r" -+ fi - ;; - *-next-nextstep*) - APR_SETIFNULL(CFLAGS, [-O]) |