aboutsummaryrefslogtreecommitdiffstats
path: root/www/apache20/Makefile
diff options
context:
space:
mode:
authorclement <clement@FreeBSD.org>2004-10-16 22:45:40 +0800
committerclement <clement@FreeBSD.org>2004-10-16 22:45:40 +0800
commitd7263a5a5634b5d5d7c01fc9b9ac62e25cd4391e (patch)
tree1e2e59d173f466ca368d1f1ec2979a72e060d146 /www/apache20/Makefile
parent763d5694f4e331d83494f499bb5d2d907a7af658 (diff)
downloadfreebsd-ports-graphics-d7263a5a5634b5d5d7c01fc9b9ac62e25cd4391e.tar.gz
freebsd-ports-graphics-d7263a5a5634b5d5d7c01fc9b9ac62e25cd4391e.tar.zst
freebsd-ports-graphics-d7263a5a5634b5d5d7c01fc9b9ac62e25cd4391e.zip
- Remove WITH_APR_FROM_PORTS knob
- Add a note to UPDATING, to warn users they won't be able to build apache2 if they keep apr 0.9.x Discussed with: Craig Rodrigues (apr maintainer), kuriyama
Diffstat (limited to 'www/apache20/Makefile')
-rw-r--r--www/apache20/Makefile21
1 files changed, 2 insertions, 19 deletions
diff --git a/www/apache20/Makefile b/www/apache20/Makefile
index 5a3dde87d76..ab6256cf320 100644
--- a/www/apache20/Makefile
+++ b/www/apache20/Makefile
@@ -126,25 +126,8 @@ CONFIGURE_ARGS+= --with-ldap \
.include <bsd.port.pre.mk>
-# Untested and may fail !
-.if defined(WITH_APR_FROM_PORTS)
-. if defined (WITH_BDB) || defined(WITH_BERKELEYDB)
-IGNORE= "You can't set WITH_BDB or WITH_BERKELEYDB when WITH_APR_FROM_PORTS is defined"
-. endif
-LIB_DEPENDS+= apr-1:${PORTSDIR}/devel/apr
-CONFIGURE_ARGS+= --with-apr=${LOCALBASE}/bin/apr-1-config \
- --with-apr-util=${LOCALBASE}/bin/apu-1-config
-CONFIGURE_ENV+= LTFLAGS="--tag=CXX"
-PLIST_SUB+= PORTS_APR="@comment "
-.else
-. if exists(${LOCALBASE}/lib/libapr-1.so)
-IGNORE= apr is installed and may conflict with apache one\
- (if you want to use apr port define WITH_APR_FROM_PORTS,\
- at your own risk)
-. endif
-PLIST_SUB+= PORTS_APR=""
-INSTALLS_SHLIB= yes
-LDCONFIG_DIRS= %%PREFIX%%/lib/apache2
+.if exists(${LOCALBASE}/lib/libapr-0.so) || defined(WITH_APR_FROM_PORTS)
+IGNORE= : apr from ports (WITH_APR_FROM_PORTS) is no longer supported
.endif
WITH_PTHREAD_LIBS?= ${PTHREAD_LIBS:S/-l//:S/-//}