From 7629b2581a4d00dd455a28486ed0647642c0edcf Mon Sep 17 00:00:00 2001 From: Pav Lucistnik <pav@FreeBSD.org> Date: Wed, 31 Aug 2005 19:57:49 +0000 Subject: - Add option for optional DRAC RFC for POP-before-SMTP relaying (default off) PR: ports/85518 Submitted by: Boris Kovalenko <boris@tagnet.ru> (maintainer) --- mail/tpop3d/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'mail/tpop3d') diff --git a/mail/tpop3d/Makefile b/mail/tpop3d/Makefile index 3b536a71b86a..64b7d1924742 100644 --- a/mail/tpop3d/Makefile +++ b/mail/tpop3d/Makefile @@ -28,7 +28,8 @@ OPTIONS= MYSQL "Use MySQL authentication" off \ LDAP "Use LDAP authentication" off \ PERLAUTH "Use Perl authentication" off \ FLATAUTH "Enable /etc/passwd-style authentication" off \ - MAILDIR "Compile Maildir support" on + MAILDIR "Compile Maildir support" on \ + DRAC "Enable DRAC RFC for POP-before-SMTP relaying" off .include <bsd.port.pre.mk> @@ -71,6 +72,12 @@ CONFIGURE_ARGS+= --enable-auth-flatfile CONFIGURE_ARGS+= --enable-mbox-maildir .endif +.if defined(WITH_DRAC) && !defined(WITHOUT_DRAC) +CONFIGURE_ARGS+= --enable-drac +BUILD_DEPENDS+= ${LOCALBASE}/lib/libdrac.a:${PORTSDIR}/mail/drac +LDFLAGS+= -L${LOCALBASE}/lib +.endif + USE_RC_SUBR= tpop3d.sh DEFAULT_CONFIG= ${PREFIX}/etc/tpop3d.conf.dist -- cgit v1.2.3