aboutsummaryrefslogtreecommitdiffstats
path: root/mail/exim
diff options
context:
space:
mode:
authorsheldonh <sheldonh@FreeBSD.org>2001-06-10 21:59:43 +0800
committersheldonh <sheldonh@FreeBSD.org>2001-06-10 21:59:43 +0800
commit18131786c3ca11869f7ffcbc5b0e279d44d0cad9 (patch)
treee0f4bdd75a5fcc3161d3798fa8f77098e970a17d /mail/exim
parenta7dac1995c6b5cd65a8a7335ff5060de1e4ab8e7 (diff)
downloadfreebsd-ports-gnome-18131786c3ca11869f7ffcbc5b0e279d44d0cad9.tar.gz
freebsd-ports-gnome-18131786c3ca11869f7ffcbc5b0e279d44d0cad9.tar.zst
freebsd-ports-gnome-18131786c3ca11869f7ffcbc5b0e279d44d0cad9.zip
Disable TCP Wrappers support by default, but provide a hook to enable
it. TCP Wrappers support surprises too many novices.
Diffstat (limited to 'mail/exim')
-rw-r--r--mail/exim/Makefile17
1 files changed, 12 insertions, 5 deletions
diff --git a/mail/exim/Makefile b/mail/exim/Makefile
index 574a141d565b..aabd46912902 100644
--- a/mail/exim/Makefile
+++ b/mail/exim/Makefile
@@ -28,11 +28,13 @@ USE_PERL5= yes
MAKE_ENV+= OSTYPE=${OPSYS} ARCHTYPE=${MACHINE_ARCH}
-# Uncomment the WITH_LDAP, WITH_MYSQL, and WITH_PGSQL definitions
-# to link against libmysqlclient and libpq respectively.
-#WITH_LDAP= yes
-#WITH_MYSQL= yes
-#WITH_PGSQL= yes
+# Define WITH_TCP_WRAPPERS, WITH_LDAP, WITH_MYSQL, and WITH_PGSQL to
+# link against libwrap, an LDAP library (see below), liblibmysqlclient
+# and libpq respectively.
+#WITH_TCP_WRAPPERS= yes
+#WITH_LDAP= yes
+#WITH_MYSQL= yes
+#WITH_PGSQL= yes
# Link against OpenSSL in the base system for STARTTLS support.
WITH_TLS?= yes
@@ -77,6 +79,11 @@ SEDLIST+= -e 's,^TLS_LIBS,\#TLS_LIBS,'
SEDLIST+= -e 's,^EXIM_PERL,\#EXIM_PERL,'
.endif
+.if defined(WITH_TCP_WRAPPERS) && ${WITH_TCP_WRAPPERS} == "yes"
+SEDLIST+= -e 's,XX_TCP_WRAPPERS_LIBS_XX,-lwrap,' \
+ -e 's,^\# USE_TCP_WRAPPERS,USE_TCP_WRAPPERS,'
+.endif
+
.if defined(WITH_LDAP)
LIB_DEPENDS+= lber.1:${PORTSDIR}/net/openldap
SEDLIST+= -e 's,XX_LDAP_LIBS_XX,-L${PREFIX}/lib -llber -lldap,' \