From dcb9d87a13942ba45fe9019057ba51f6584f89ae Mon Sep 17 00:00:00 2001 From: joerg Date: Sun, 27 Jul 2008 18:54:21 +0000 Subject: Fix installation with Apache 2.2. --- www/ap-auth-mysql/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/www/ap-auth-mysql/Makefile b/www/ap-auth-mysql/Makefile index accc8230b89..4c7770d13b8 100644 --- a/www/ap-auth-mysql/Makefile +++ b/www/ap-auth-mysql/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.19 2008/06/12 02:14:54 joerg Exp $ +# $NetBSD: Makefile,v 1.20 2008/07/27 18:54:21 joerg Exp $ # DISTNAME= libapache-mod-auth-mysql_4.3.1 @@ -36,7 +36,11 @@ APACHE_MODULE_NAME= mod_auth_mysql.so INSTALLATION_DIRS= lib/httpd share/doc/mod_auth_mysql do-install: - if [ -f ${WRKSRC}/.libs/${PKG_APACHE}_mod_auth_mysql.so ]; then \ + if [ -f ${WRKSRC}/.libs/apache2_mod_auth_mysql.so ]; then \ + ${INSTALL_DATA} \ + ${WRKSRC}/.libs/apache2_mod_auth_mysql.so \ + ${DESTDIR}${PREFIX}/lib/httpd/mod_auth_mysql.so; \ + elif [ -f ${WRKSRC}/.libs/${PKG_APACHE}_mod_auth_mysql.so ]; then \ ${INSTALL_DATA} \ ${WRKSRC}/.libs/${PKG_APACHE}_mod_auth_mysql.so \ ${DESTDIR}${PREFIX}/lib/httpd/mod_auth_mysql.so; \ -- cgit v1.2.3