diff options
-rw-r--r-- | www/ap-auth-mysql/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/www/ap-auth-mysql/Makefile b/www/ap-auth-mysql/Makefile index caedfb94478..07b9087e432 100644 --- a/www/ap-auth-mysql/Makefile +++ b/www/ap-auth-mysql/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2004/07/17 07:53:34 jdolecek Exp $ +# $NetBSD: Makefile,v 1.4 2004/07/17 16:58:19 jdolecek Exp $ # DISTNAME= libapache-mod-auth-mysql_4.3.1 @@ -17,17 +17,19 @@ GNU_CONFIGURE= yes CONFIGURE_ARGS+= --with-mysql-includes=${BUILDLINK_PREFIX.mysql-client}/include/mysql \ --with-mysql-libs=${BUILDLINK_PREFIX.mysql-client}/lib/mysql CPPFLAGS+= -I${BUILDLINK_PREFIX.mysql-client}/include/mysql +LDFLAGS+= -L${BUILDLINK_PREFIX.mysql-client}/lib/mysql \ + -lmysqlclient \ + -Wl,${RPATH_FLAG}${PREFIX}/lib/mysql APACHE_MODULE= YES APACHE_MODULE_NAME= mod_auth_mysql.so -do-install: - ${INSTALL_DATA} ${WRKSRC}/${PKG_APACHE}_${APACHE_MODULE_NAME} \ - ${PREFIX}/lib/httpd/${APACHE_MODULE_NAME} +post-install: ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mod_auth_mysql ${INSTALL_DATA} ${WRKSRC}/DIRECTIVES ${PREFIX}/share/doc/mod_auth_mysql ${INSTALL_DATA} ${WRKSRC}/USAGE ${PREFIX}/share/doc/mod_auth_mysql .include "../../databases/mysql-client/buildlink3.mk" .include "../../mk/apache.mk" +.include "../../www/apache/module.mk" .include "../../mk/bsd.pkg.mk" |