diff options
author | jlam <jlam@pkgsrc.org> | 2002-02-05 15:03:19 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2002-02-05 15:03:19 +0000 |
commit | d828816a68eb2b6de4ae255ec997284ed1baf84f (patch) | |
tree | c575b252f37d5da8e559324403bcc5aba2f628d4 /mail | |
parent | 6fdcb010ded0aa5ffc90430b2ab30cdcc35f8d29 (diff) | |
download | pkgsrc-d828816a68eb2b6de4ae255ec997284ed1baf84f.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.
Diffstat (limited to 'mail')
-rw-r--r-- | mail/courier-auth/Makefile.authdaemond | 7 | ||||
-rw-r--r-- | mail/courier-auth/Makefile.common | 7 |
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 |