diff options
author | jlam <jlam> | 2002-02-05 15:03:19 +0000 |
---|---|---|
committer | jlam <jlam> | 2002-02-05 15:03:19 +0000 |
commit | b46081c3c23756e36072e2158f8b588eefa59bfa (patch) | |
tree | c575b252f37d5da8e559324403bcc5aba2f628d4 /mail | |
parent | 7a68c1ccc0b53a07c7ba73983aa542f2319bdd6a (diff) | |
download | pkgsrc-b46081c3c23756e36072e2158f8b588eefa59bfa.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 |