diff options
author | joerg <joerg> | 2008-07-27 18:54:21 +0000 |
---|---|---|
committer | joerg <joerg> | 2008-07-27 18:54:21 +0000 |
commit | 4b99ce207404dac8d5523c4b93a0b9d7bdbf1ab7 (patch) | |
tree | aac87c4ef34589e7983d9f3627ece5e65f067c34 /www | |
parent | d98ee57ee8df6ace276fc9507c2fdfa3ade814ea (diff) | |
download | pkgsrc-4b99ce207404dac8d5523c4b93a0b9d7bdbf1ab7.tar.gz |
Fix installation with Apache 2.2.
Diffstat (limited to 'www')
-rw-r--r-- | www/ap-auth-mysql/Makefile | 8 |
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; \ |