aboutsummaryrefslogtreecommitdiffstats
path: root/www/mod_auth_pgsql/Makefile
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2002-09-10 02:30:10 +0800
committerdinoex <dinoex@FreeBSD.org>2002-09-10 02:30:10 +0800
commit6c46a7461e8f359392cd8a6bb9c1a9272893dfb1 (patch)
tree3384b1a80aa47eb892ecce3af73f9fd8396a1438 /www/mod_auth_pgsql/Makefile
parentc9881ccf7b121fbd9d1a735601e15d1e3d438bde (diff)
downloadfreebsd-ports-graphics-6c46a7461e8f359392cd8a6bb9c1a9272893dfb1.tar.gz
freebsd-ports-graphics-6c46a7461e8f359392cd8a6bb9c1a9272893dfb1.tar.zst
freebsd-ports-graphics-6c46a7461e8f359392cd8a6bb9c1a9272893dfb1.zip
support appache13-modssl by defining APACHE_PORT in /etc/make.conf
others variants of the apache ports can be used too.
Diffstat (limited to 'www/mod_auth_pgsql/Makefile')
-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 7c3f671a686..1fbde23fdcd 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