summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2007-02-03 04:11:04 +0000
committerobache <obache@pkgsrc.org>2007-02-03 04:11:04 +0000
commit92ce0cd77c6094ff364c21e9a3b4f6b8e29fa3ed (patch)
tree1047c175358b15cebdb7f99ad6afb2e081494c5d /www
parentad8b286470bd0b56973ca6ba942dc684ec72c05a (diff)
downloadpkgsrc-92ce0cd77c6094ff364c21e9a3b4f6b8e29fa3ed.tar.gz
Fix install problem with apache2 pointed out in PR 35508.
For apache2, module extension is ".la", not ".so".
Diffstat (limited to 'www')
-rw-r--r--www/ap-auth-external/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/www/ap-auth-external/Makefile b/www/ap-auth-external/Makefile
index 11eb36182ac..e35dc65e64d 100644
--- a/www/ap-auth-external/Makefile
+++ b/www/ap-auth-external/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2007/01/24 15:06:57 sborrill Exp $
+# $NetBSD: Makefile,v 1.3 2007/02/03 04:11:04 obache Exp $
#
DISTNAME= mod_auth_external-${DISTVERS}
@@ -15,12 +15,14 @@ PKG_APACHE_ACCEPTED= apache13 apache2
.include "../../mk/apache.mk"
-APACHE_MODULE_NAME= mod_auth_external.so
+APACHE_MODULE_NAME= mod_auth_external.${MODULE_EXT}
.if ${PKG_APACHE} == "apache13"
DISTVERS= 2.1.19
+MODULE_EXT= so
.else
DISTVERS= 2.2.11
+MODULE_EXT= la
.endif
.include "../../www/apache/module.mk"