From 6c4fb43ca21ad8b32dceefc4f2ef5b581a6303d4 Mon Sep 17 00:00:00 2001 From: "Philip M. Gollucci" Date: Wed, 29 Apr 2009 01:36:52 +0000 Subject: - USE_APACHE=yes is deprecated - Convert to AP_FAST_BUILD/AP_GENPLIST PR: ports/133640 Approved by: maintainer timeout (2 weeks) Submitted by: me --- www/mod_shapvh/Makefile | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'www/mod_shapvh/Makefile') diff --git a/www/mod_shapvh/Makefile b/www/mod_shapvh/Makefile index e86f48e8b0fc..d2a829f9edc4 100644 --- a/www/mod_shapvh/Makefile +++ b/www/mod_shapvh/Makefile @@ -15,18 +15,19 @@ EXTRACT_SUFX= .c MAINTAINER= steven@krx.nl COMMENT= Apache module that provides virtual hosts from a database -USE_APACHE= yes +USE_APACHE= 1.3 USE_MYSQL= yes + +AP_FAST_BUILD= yes +AP_GENPLIST= yes + +AP_INC= ${LOCALBASE}/include +AP_LIB= ${LOCALBASE}/lib/mysql -lmysqlclient + NO_WRKSUBDIR= yes do-extract: ${MKDIR} ${WRKSRC} ${CP} ${DISTDIR}/${DISTFILES} ${WRKSRC} -do-build: - @cd ${WRKSRC} && ${APXS} -c -l mysqlclient -I ${PREFIX}/include -L ${PREFIX}/lib/mysql ${PORTNAME}.c - -do-install: - ${APXS} -i -A -n ${PORTNAME:S/^mod_//g} ${WRKSRC}/${PORTNAME}.so - .include -- cgit v1.2.3