Split out Apache 2.x code into ap2-auth-external. Fixes pkg/37362

This commit is contained in:
sborrill 2007-12-20 14:31:52 +00:00
parent d972cec0fd
commit 19c0589c82

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.5 2007/11/02 15:06:26 sborrill Exp $
# $NetBSD: Makefile,v 1.6 2007/12/20 14:31:52 sborrill Exp $
#
DISTNAME= mod_auth_external-${DISTVERS}
@ -11,21 +11,14 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://unixpapa.com/mod_authnz_external/
COMMENT= Apache module for external program authentication
PKG_APACHE_ACCEPTED= apache13 apache2
PKG_APACHE_ACCEPTED= apache13
.include "../../mk/apache.mk"
APACHE_MODULE_NAME= mod_auth_external.${MODULE_EXT}
.if ${PKG_APACHE} == "apache13"
DISTVERS= 2.1.19
MODULE_EXT= so
MESSAGE_SUBST+= MODULE_NAME=external_auth_module
.else
DISTVERS= 2.2.11
MODULE_EXT= la
MESSAGE_SUBST+= MODULE_NAME=auth_external_module
.endif
.include "../../www/apache/module.mk"
.include "../../mk/bsd.pkg.mk"