summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorobache <obache>2007-02-03 04:11:04 +0000
committerobache <obache>2007-02-03 04:11:04 +0000
commit3a748978f0a3b47ba928046176c13a968ca43978 (patch)
tree1047c175358b15cebdb7f99ad6afb2e081494c5d
parentf36f01aff7e429badf7370fe4c1f3d6dd0ac80ce (diff)
downloadpkgsrc-3a748978f0a3b47ba928046176c13a968ca43978.tar.gz
Fix install problem with apache2 pointed out in PR 35508.
For apache2, module extension is ".la", not ".so".
-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"