summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjlam <jlam>2002-02-05 15:03:19 +0000
committerjlam <jlam>2002-02-05 15:03:19 +0000
commit7a2c3b51dd3c2f633f9ec985b6612043fbab927a (patch)
treec575b252f37d5da8e559324403bcc5aba2f628d4
parent46d9f355fccae98b99ec9beb1f21dcb5e378449d (diff)
downloadpkgsrc-7a2c3b51dd3c2f633f9ec985b6612043fbab927a.tar.gz
Move PAM dependency into Makefile.authdaemond as the PAM-related code is
localized into the authlib sources. This makes only the courier-auth* modules depend on PAM.
-rw-r--r--mail/courier-auth/Makefile.authdaemond7
-rw-r--r--mail/courier-auth/Makefile.common7
2 files changed, 7 insertions, 7 deletions
diff --git a/mail/courier-auth/Makefile.authdaemond b/mail/courier-auth/Makefile.authdaemond
index 2160fcbf32d..b4aaa50119c 100644
--- a/mail/courier-auth/Makefile.authdaemond
+++ b/mail/courier-auth/Makefile.authdaemond
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.authdaemond,v 1.2 2002/01/27 23:47:08 jlam Exp $
+# $NetBSD: Makefile.authdaemond,v 1.3 2002/02/05 15:03:19 jlam Exp $
.include "../../mail/courier-auth/Makefile.common"
@@ -24,6 +24,11 @@ PATCHDIR= ${.CURDIR}/../../mail/courier-auth/patches
FILES_SUBST+= SYSCONFTOOL=${SYSCONFTOOL:Q}
+.if defined(USE_PAM)
+BUILD_DEFS+= USE_PAM
+.include "../../security/PAM/buildlink.mk"
+.endif
+
pre-configure: configure-init
do-build:
diff --git a/mail/courier-auth/Makefile.common b/mail/courier-auth/Makefile.common
index 04c595e795e..9777d45894a 100644
--- a/mail/courier-auth/Makefile.common
+++ b/mail/courier-auth/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.3 2002/01/29 16:36:49 jlam Exp $
+# $NetBSD: Makefile.common,v 1.4 2002/02/05 15:03:19 jlam Exp $
DISTNAME?= courier-${DIST_VERS}
CATEGORIES+= mail
@@ -57,11 +57,6 @@ CONFIGURE_ENV+= EXPECT="${LOCALBASE}/bin/expect"
CPPFLAGS+= -I${BUILDLINK_DIR}/include/db2
.endif
-.if defined(USE_PAM)
-BUILD_DEFS+= USE_PAM
-.include "../../security/PAM/buildlink.mk"
-.endif
-
configure-init:
${MKDIR} ${WRKSRC}/courier
${TOUCH} ${TOUCH_ARGS} ${WRKSRC}/courier/courier.c