aboutsummaryrefslogtreecommitdiff
path: root/www/apache21
diff options
context:
space:
mode:
authorClement Laforet <clement@FreeBSD.org>2005-12-10 12:03:11 +0000
committerClement Laforet <clement@FreeBSD.org>2005-12-10 12:03:11 +0000
commita172725741b4c28fdc0a0239580e4d60069f85f5 (patch)
tree1bfd4110118c9edb3c93a663ee2ae60ce82edee7 /www/apache21
parent266ad05559657806cc2aa7ba02e0c7d846f6a3d1 (diff)
downloadports-a172725741b4c28fdc0a0239580e4d60069f85f5.tar.gz
ports-a172725741b4c28fdc0a0239580e4d60069f85f5.zip
Notes
Diffstat (limited to 'www/apache21')
-rw-r--r--www/apache21/Makefile3
-rw-r--r--www/apache21/files/patch-configure.in29
-rw-r--r--www/apache21/pkg-plist1
3 files changed, 27 insertions, 6 deletions
diff --git a/www/apache21/Makefile b/www/apache21/Makefile
index ed39993491b9..d424418825eb 100644
--- a/www/apache21/Makefile
+++ b/www/apache21/Makefile
@@ -9,7 +9,7 @@
PORTNAME= apache
PORTVERSION= 2.1.9
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_APACHE_HTTPD} \
${MASTER_SITE_LOCAL:S/%SUBDIR%/clement/}:powerlogo
@@ -137,6 +137,7 @@ CONFIGURE_ENV+= LTFLAGS="--tag=CXX"
.else
PLIST_SUB+= APR_PORTS=""
CONFLICTS+= apr-1.*
+CONFIGURE_ENV+= USE_BUNDLED_APR=YES
.endif
WITH_PTHREAD_LIBS?= ${PTHREAD_LIBS:S/-l//:S/-//}
diff --git a/www/apache21/files/patch-configure.in b/www/apache21/files/patch-configure.in
index e36f5d9ac795..bc00627ed7af 100644
--- a/www/apache21/files/patch-configure.in
+++ b/www/apache21/files/patch-configure.in
@@ -1,7 +1,14 @@
---- configure.in.orig Sun Nov 21 19:50:36 2004
-+++ configure.in Mon Dec 13 10:43:16 2004
-@@ -69,7 +69,7 @@
+--- configure.in.orig Sun Nov 13 06:33:15 2005
++++ configure.in Sat Dec 10 13:14:10 2005
+@@ -67,9 +67,14 @@
+ AC_MSG_ERROR([APR not found. Please read the documentation.])
+ fi
++if test "x${USE_BUNDLED_APR}" != "x" ; then
++ apr_found=reconfig
++ apr_config=srclib/apr/apr-1-config
++fi
++
if test "$apr_found" = "reconfig"; then
APR_SUBDIR_CONFIG(srclib/apr,
- [$apache_apr_flags --prefix=$prefix --exec-prefix=$exec_prefix --libdir=$libdir --includedir=$includedir --bindir=$bindir --datadir=$datadir --with-installbuilddir=$installbuilddir],
@@ -9,7 +16,19 @@
[--enable-layout=*|\'--enable-layout=*])
dnl We must be the first to build and the last to be cleaned
AP_BUILD_SRCLIB_DIRS="apr $AP_BUILD_SRCLIB_DIRS"
-@@ -97,7 +97,7 @@
+@@ -95,6 +100,11 @@
+ AC_MSG_ERROR([APR-util not found. Please read the documentation.])
+ fi
+
++if test "x${USE_BUNDLED_APR}" != "x" ; then
++ apu_found=reconfig
++ apu_config=srclib/apr-util/apu-1-config
++fi
++
+ # Catch some misconfigurations:
+ case ${apr_found}.${apu_found} in
+ reconfig.yes)
+@@ -107,7 +117,7 @@
if test "$apu_found" = "reconfig"; then
APR_SUBDIR_CONFIG(srclib/apr-util,
@@ -18,7 +37,7 @@
[--enable-layout=*|\'--enable-layout=*])
dnl We must be the last to build and the first to be cleaned
AP_BUILD_SRCLIB_DIRS="$AP_BUILD_SRCLIB_DIRS apr-util"
-@@ -549,8 +549,14 @@
+@@ -617,8 +627,14 @@
[Root directory of the Apache install area])
AC_DEFINE_UNQUOTED(SERVER_CONFIG_FILE, "${rel_sysconfdir}/${progname}.conf",
[Location of the config file, relative to the Apache root directory])
diff --git a/www/apache21/pkg-plist b/www/apache21/pkg-plist
index b38e026988f2..e8e253e3edce 100644
--- a/www/apache21/pkg-plist
+++ b/www/apache21/pkg-plist
@@ -202,6 +202,7 @@ libexec/apache21/httpd.exp
%%MOD_EXPIRES%%libexec/apache21/mod_expires.so
%%MOD_EXT_FILTER%%libexec/apache21/mod_ext_filter.so
%%MOD_FILE_CACHE%%libexec/apache21/mod_file_cache.so
+%%MOD_FILTER%%libexec/apache21/mod_filter.so
%%MOD_HEADERS%%libexec/apache21/mod_headers.so
%%MOD_IMAGEMAP%%libexec/apache21/mod_imagemap.so
%%MOD_INCLUDE%%libexec/apache21/mod_include.so