summaryrefslogtreecommitdiff
path: root/www/mod_auth_pgsql
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2002-09-09 18:30:10 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2002-09-09 18:30:10 +0000
commite9bd637dd02fcd96b91fb80ba311012435435f6b (patch)
tree1462b961ad61216f85817c7e4d143262dfbae524 /www/mod_auth_pgsql
parentAdd command line options to wfica wrappers. (diff)
support appache13-modssl by defining APACHE_PORT in /etc/make.conf
others variants of the apache ports can be used too.
Notes
Notes: svn path=/head/; revision=65932
Diffstat (limited to 'www/mod_auth_pgsql')
-rw-r--r--www/mod_auth_pgsql/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/www/mod_auth_pgsql/Makefile b/www/mod_auth_pgsql/Makefile
index 7c3f671a6863..1fbde23fdcd4 100644
--- a/www/mod_auth_pgsql/Makefile
+++ b/www/mod_auth_pgsql/Makefile
@@ -11,17 +11,18 @@ MASTER_SITES= http://www.giuseppetanzilli.it/mod_auth_pgsql/dist/
MAINTAINER= ports@freebsd.org
-BUILD_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/${AP_PORT}
-RUN_DEPENDS= ${LOCALBASE}/sbin/${AP_TARGET}:${PORTSDIR}/www/${AP_PORT}
+BUILD_DEPENDS= ${APXS}:${APACHE_PORT}
+RUN_DEPENDS= ${LOCALBASE}/sbin/${AP_TARGET}:${APACHE_PORT}
LIB_DEPENDS= pq.2:${PORTSDIR}/databases/postgresql7
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:S/a//}
.include <bsd.port.pre.mk>
-APXS= ${LOCALBASE}/sbin/apxs
-
+APXS?= ${LOCALBASE}/sbin/apxs
AP_PORT?= apache13
+APACHE_PORT?= ${PORTSDIR}/www/${AP_PORT}
+
.if exists(${APXS})
APXS_WORKS!= ${APXS} -q TARGET 2>/dev/null || echo no
.endif