diff options
author | Sheldon Hearn <sheldonh@FreeBSD.org> | 2001-06-10 13:59:43 +0000 |
---|---|---|
committer | Sheldon Hearn <sheldonh@FreeBSD.org> | 2001-06-10 13:59:43 +0000 |
commit | 002f0448aec0861f96786c88502ac97a8f5c78a2 (patch) | |
tree | f28021a622db94c7c0a43bad9b7601745fccbb94 /mail/exim | |
parent | 4625fcef31d3d3c0b56629d0451cfd369cfb86fc (diff) |
Notes
Diffstat (limited to 'mail/exim')
-rw-r--r-- | mail/exim/Makefile | 17 |
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,' \ |