aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2005-09-01 03:57:49 +0800
committerpav <pav@FreeBSD.org>2005-09-01 03:57:49 +0800
commit899d6fd350dedc8848634aa1176d15f22d446eff (patch)
treeafc711039e178167b23a4ae65536e5c17063fb52
parent03c06d07b5e5d620603db8155e22918a5af43486 (diff)
downloadfreebsd-ports-gnome-899d6fd350dedc8848634aa1176d15f22d446eff.tar.gz
freebsd-ports-gnome-899d6fd350dedc8848634aa1176d15f22d446eff.tar.zst
freebsd-ports-gnome-899d6fd350dedc8848634aa1176d15f22d446eff.zip
- Add option for optional DRAC RFC for POP-before-SMTP relaying (default off)
PR: ports/85518 Submitted by: Boris Kovalenko <boris@tagnet.ru> (maintainer)
-rw-r--r--mail/tpop3d/Makefile9
1 files changed, 8 insertions, 1 deletions
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