summaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorclement <clement@FreeBSD.org>2004-04-16 14:40:41 +0000
committerclement <clement@FreeBSD.org>2004-04-16 14:40:41 +0000
commitd34f7c1a2339a3450db44819b8727f49a64399bd (patch)
treef725a58626591ba26937b3fc01398a492e346fce /www
parent217b01f05628fefdd3105959ec122dc28eda388a (diff)
downloadFreeBSD-ports-d34f7c1a2339a3450db44819b8727f49a64399bd.zip
FreeBSD-ports-d34f7c1a2339a3450db44819b8727f49a64399bd.tar.gz
- Utilize Makefile.modules.3rd
Diffstat (limited to 'www')
-rw-r--r--www/mod_auth_cookie_mysql/Makefile18
1 files changed, 8 insertions, 10 deletions
diff --git a/www/mod_auth_cookie_mysql/Makefile b/www/mod_auth_cookie_mysql/Makefile
index 2be9cec..ba5c3e1 100644
--- a/www/mod_auth_cookie_mysql/Makefile
+++ b/www/mod_auth_cookie_mysql/Makefile
@@ -15,21 +15,19 @@ DIST_SUBDIR= apache
MAINTAINER= clement@FreeBSD.org
COMMENT= Allows authentication against a MySQL database via a secure cookie
-BUILD_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13
-RUN_DEPENDS= ${BUILD_DEPENDS}
-
USE_MYSQL= YES
# If someone can test it with MySQL 4.1 ;-)
BROKEN_WITH_MYSQL= 41
-APXS?= ${LOCALBASE}/sbin/apxs
-MYSQL_INC?= ${LOCALBASE}/include/mysql
-MYSQL_LIBS?= ${LOCALBASE}/lib/mysql -lmysqlclient -lz
+WANT_APACHE= 13
-do-build:
- @(cd ${WRKSRC} && ${APXS} -I ${MYSQL_INC} -L ${MYSQL_LIBS} -c ${PORTNAME}.c)
+AP_FAST_BUILD= YES
+AP_INC?= ${LOCALBASE}/include/mysql
+AP_LIB?= ${LOCALBASE}/lib/mysql -lmysqlclient -lz
-do-install:
+.include <bsd.port.pre.mk>
+.include "${PORTSDIR}/www/apache2/Makefile.modules.3rd"
+post-install:
@(cd ${WRKSRC} && ${APXS} -A -i ${PORTNAME}.so)
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@@ -39,4 +37,4 @@ do-install:
@${INSTALL_DATA} ${WRKSRC}/putcookie.cgi ${EXAMPLESDIR}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud