diff options
author | jdolecek <jdolecek> | 2004-07-17 16:58:19 +0000 |
---|---|---|
committer | jdolecek <jdolecek> | 2004-07-17 16:58:19 +0000 |
commit | b9c13ef79650c5f77e0315420f31b7c5ae17f452 (patch) | |
tree | dfc08b468c6290e0f7cfd4f2539e63094875279b /www | |
parent | c3389624b46e6207b41b48d68eab60a11c74a787 (diff) | |
download | pkgsrc-b9c13ef79650c5f77e0315420f31b7c5ae17f452.tar.gz |
we do need the LDFLAGS setting removed in rev 1.2, put that back
we also want the apxs rules from www/apache/module.mk, since the package's
own Makefile doesn't propagate LDFLAGS; include www/apache/module.mk
AFTER mk/apache.mk, so that the right Apache buildlink3.mk is still used
for the build
Diffstat (limited to 'www')
-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" |