Skip to content

Commit

Permalink
Move PAM dependency into Makefile.authdaemond as the PAM-related code is
Browse files Browse the repository at this point in the history
localized into the authlib sources.  This makes only the courier-auth*
modules depend on PAM.
  • Loading branch information
johnnylam88 committed Feb 5, 2002
1 parent 6fdcb01 commit d828816
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
7 changes: 6 additions & 1 deletion mail/courier-auth/Makefile.authdaemond
Original file line number Diff line number Diff line change
@@ -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"

Expand All @@ -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:
Expand Down
7 changes: 1 addition & 6 deletions mail/courier-auth/Makefile.common
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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

0 comments on commit d828816

Please sign in to comment.