aboutsummaryrefslogtreecommitdiffstats
path: root/mail/maildrop
diff options
context:
space:
mode:
authoroliver <oliver@FreeBSD.org>2005-04-27 03:22:11 +0800
committeroliver <oliver@FreeBSD.org>2005-04-27 03:22:11 +0800
commit00f173e7a687bb55519e3896e7d1787905b3b837 (patch)
tree4d9c46ceec152b3562407cda50babce49e1f389e /mail/maildrop
parentbbdf601f8612e35cab7141d24d54998c387ea179 (diff)
downloadfreebsd-ports-gnome-00f173e7a687bb55519e3896e7d1787905b3b837.tar.gz
freebsd-ports-gnome-00f173e7a687bb55519e3896e7d1787905b3b837.tar.zst
freebsd-ports-gnome-00f173e7a687bb55519e3896e7d1787905b3b837.zip
chase courier-authlib move
Diffstat (limited to 'mail/maildrop')
-rw-r--r--mail/maildrop/Makefile13
1 files changed, 11 insertions, 2 deletions
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 <bsd.port.pre.mk>
.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