summaryrefslogtreecommitdiff
path: root/www/ap-auth-mysql
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2008-07-27 18:54:21 +0000
committerjoerg <joerg@pkgsrc.org>2008-07-27 18:54:21 +0000
commitdcb9d87a13942ba45fe9019057ba51f6584f89ae (patch)
treeaac87c4ef34589e7983d9f3627ece5e65f067c34 /www/ap-auth-mysql
parent9317f6adc77af709106c365d65429e03734f4c5e (diff)
downloadpkgsrc-dcb9d87a13942ba45fe9019057ba51f6584f89ae.tar.gz
Fix installation with Apache 2.2.
Diffstat (limited to 'www/ap-auth-mysql')
-rw-r--r--www/ap-auth-mysql/Makefile8
1 files 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; \