1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

. Use the newer, more simplified APACHE dependency handling.

Submitted by:	Palle Girgensohn <girgen@pingpong.net> (maintainer)
This commit is contained in:
Greg Lewis 2003-11-20 23:41:09 +00:00
parent f148b78690
commit 9ec05ac2e3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=94578

View File

@ -16,15 +16,15 @@ DISTNAME= jakarta-tomcat-connectors-jk-${PORTVERSION}-src
MAINTAINER= girgen@pingpong.net
COMMENT= Apache JK module for connecting to Tomcat using AJP1X
USE_APACHE= YES
.include <bsd.port.pre.mk>
.if exists(${LOCALBASE}/include/apache2/apr.h)
APACHE_PORT?= ${PORTSDIR}/www/apache2
.else
APACHE_PORT?= ${PORTSDIR}/www/apache13
WITH_APACHE2= YES
.endif
.if ${APACHE_PORT:S/${PORTSDIR}\///} == "www/apache2"
.if defined(WITH_APACHE2)
APACHE_VER= 2.0
APACHE2= 2
PLIST_SUB= APACHE2=2
@ -35,9 +35,6 @@ APACHE2=
PLIST_SUB= APACHE2=
.endif
BUILD_DEPENDS= ${APXS}:${PORTSDIR}/${APACHE_PORT}
RUN_DEPENDS= ${APXS}:${PORTSDIR}/${APACHE_PORT}
APACHE_CONF= ${LOCALBASE}/etc/apache${APACHE2}
WRKSRC= ${WRKDIR}/jakarta-tomcat-connectors-jk-${PORTVERSION}-src/jk/native