From 7c67c635767fdd7bd97f1cb0bb6be8716be21803 Mon Sep 17 00:00:00 2001 From: clement Date: Wed, 13 Oct 2004 08:37:32 +0000 Subject: - Add WITHOUT_APACHE_EXPAT knob. It ensures to link with expat when apache isn't built with its own expat Noticed by: Nik Clayton PR: ports/71988 --- www/mod_dav/Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'www/mod_dav/Makefile') diff --git a/www/mod_dav/Makefile b/www/mod_dav/Makefile index 6ce1a8382a9..343c3ab2184 100644 --- a/www/mod_dav/Makefile +++ b/www/mod_dav/Makefile @@ -35,6 +35,11 @@ CONFIGURE_ARGS= --prefix=${PREFIX} \ --includedir=${PREFIX}/include/apache \ --with-apxs=${APXS} +.if defined(WITHOUT_APACHE_EXPAT) +CONFIGURE_ARGS+= --with-expat=${LOCALBASE} +LIB_DEPENDS+= expat.5:${PORTSDIR}/textproc/expat2 +.endif + CONFIGURE_ENV= CFLAGS='${CFLAGS}' \ PATH="${PREFIX}/bin:${PREFIX}/sbin:${PATH}" -- cgit