From 00f173e7a687bb55519e3896e7d1787905b3b837 Mon Sep 17 00:00:00 2001 From: oliver Date: Tue, 26 Apr 2005 19:22:11 +0000 Subject: chase courier-authlib move --- mail/maildrop/Makefile | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'mail/maildrop') diff --git a/mail/maildrop/Makefile b/mail/maildrop/Makefile index 25de11834c73..f54de85434e9 100644 --- a/mail/maildrop/Makefile +++ b/mail/maildrop/Makefile @@ -37,6 +37,12 @@ CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib +.if defined(WITH_AUTHLIB) +.if exists(${.CURDIR}/../../security/courier-authlib/Makefile.opt) +.include "${.CURDIR}/../../security/courier-authlib/Makefile.opt" +.endif +.endif + .include .if ${OSVERSION} <= 502010 @@ -71,8 +77,11 @@ CONFIGURE_ARGS+= --enable-trusted-users="${MAILDROP_TRUSTED_USERS}" .endif .if defined(WITH_AUTHLIB) -BUILD_DEPENDS= ${LOCALBASE}/bin/courierauthconfig:${PORTSDIR}/mail/courier-authlib -RUN_DEPENDS= ${LOCALBASE}/bin/courierauthconfig:${PORTSDIR}/mail/courier-authlib +.if exists(${.CURDIR}/../../security/courier-authlib/Makefile.dep) +.include "${.CURDIR}/../../security/courier-authlib/Makefile.dep" +.endif +BUILD_DEPENDS+= courierauthconfig:${PORTSDIR}/security/courier-authlib-base +RUN_DEPENDS+= courierauthconfig:${PORTSDIR}/security/courier-authlib-base USE_REINPLACE= yes CONFIGURE_ARGS+= --enable-authlib -- cgit