aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorclement <clement@FreeBSD.org>2005-12-10 19:39:40 +0800
committerclement <clement@FreeBSD.org>2005-12-10 19:39:40 +0800
commit7291e87959f89b474963f43108c8973d0225d83e (patch)
treeda7d49dab30a7db9f345ca96eab259cc87974636 /www
parenteb6faad3b57baef1a4822bdb25441a5388f7e869 (diff)
downloadfreebsd-ports-gnome-7291e87959f89b474963f43108c8973d0225d83e.tar.gz
freebsd-ports-gnome-7291e87959f89b474963f43108c8973d0225d83e.tar.zst
freebsd-ports-gnome-7291e87959f89b474963f43108c8973d0225d83e.zip
- Fix plist (forgot when I add mod_filter) [1]
- workaround apr detection. Now apache22 build his own apr, even if apr is installed, unless you define WITH_APR_FROM_PORTS. Reported by: pointyhat via kris [1]
Diffstat (limited to 'www')
-rw-r--r--www/apache22/Makefile2
-rw-r--r--www/apache22/files/patch-configure.in29
-rw-r--r--www/apache22/pkg-plist1
3 files changed, 26 insertions, 6 deletions
diff --git a/www/apache22/Makefile b/www/apache22/Makefile
index f99790606807..f3d0046a5ff3 100644
--- a/www/apache22/Makefile
+++ b/www/apache22/Makefile
@@ -9,7 +9,7 @@
PORTNAME= apache
PORTVERSION= 2.2.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_APACHE_HTTPD} \
${MASTER_SITE_LOCAL:S/%SUBDIR%/clement/}:powerlogo
diff --git a/www/apache22/files/patch-configure.in b/www/apache22/files/patch-configure.in
index e36f5d9ac795..bc00627ed7af 100644
--- a/www/apache22/files/patch-configure.in
+++ b/www/apache22/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/apache22/pkg-plist b/www/apache22/pkg-plist
index 544dc5965f35..3fb4497ee230 100644
--- a/www/apache22/pkg-plist
+++ b/www/apache22/pkg-plist
@@ -202,6 +202,7 @@ libexec/apache22/httpd.exp
%%MOD_EXPIRES%%libexec/apache22/mod_expires.so
%%MOD_EXT_FILTER%%libexec/apache22/mod_ext_filter.so
%%MOD_FILE_CACHE%%libexec/apache22/mod_file_cache.so
+%%MOD_FILTER%%libexec/apache22/mod_filter.so
%%MOD_HEADERS%%libexec/apache22/mod_headers.so
%%MOD_IMAGEMAP%%libexec/apache22/mod_imagemap.so
%%MOD_INCLUDE%%libexec/apache22/mod_include.so