pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/ap-auth-mysql Fix installation with Apache 2.2.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a00571c4a19d
branches:  trunk
changeset: 545172:a00571c4a19d
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sun Jul 27 18:54:21 2008 +0000

description:
Fix installation with Apache 2.2.

diffstat:

 www/ap-auth-mysql/Makefile |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (22 lines):

diff -r 3e56cf8136fc -r a00571c4a19d www/ap-auth-mysql/Makefile
--- a/www/ap-auth-mysql/Makefile        Sun Jul 27 18:53:40 2008 +0000
+++ b/www/ap-auth-mysql/Makefile        Sun Jul 27 18:54:21 2008 +0000
@@ -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 @@
 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;   \



Home | Main Index | Thread Index | Old Index