2009-09-21 14:25:21 +02:00
|
|
|
# Makefile.features
|
|
|
|
# Author: Hirohisa Yamaguchi <umq@ueo.co.jp>
|
|
|
|
#
|
|
|
|
# This file is used to tune build time options.
|
|
|
|
# Please refer FEATURES file distributed with the source for details.
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2010-11-29 20:01:14 +01:00
|
|
|
.if defined(WITH_ADSP_LISTS) && !defined(WITHOUT_ADSP_LISTS)
|
|
|
|
CONFIGURE_ARGS+= --enable-adsp_lists
|
|
|
|
.endif
|
|
|
|
|
2010-07-22 04:30:19 +02:00
|
|
|
.if defined(WITH_ALLSYMBOLS) && !defined(WITHOUT_ALLSYMBOLS)
|
|
|
|
CONFIGURE_ARGS+= --enable-allsymbols
|
|
|
|
.endif
|
|
|
|
|
2011-04-27 12:12:21 +02:00
|
|
|
.if defined(WITH_ATPS) && !defined(WITHOUT_ATPS)
|
|
|
|
CONFIGURE_ARGS+= --enable-atps
|
2009-09-21 14:25:21 +02:00
|
|
|
.endif
|
|
|
|
|
2011-04-27 12:12:21 +02:00
|
|
|
.if defined(WITH_BODYLENGTH_DB) && !defined(WITHOUT_BODYLENGTH_DB)
|
|
|
|
CONFIGURE_ARGS+= --enable-bodylength_db
|
2009-09-21 14:25:21 +02:00
|
|
|
.endif
|
|
|
|
|
2010-07-22 04:30:19 +02:00
|
|
|
.if defined(WITH_CODECOVERAGE) && !defined(WITHOUT_CODECOVERAGE)
|
|
|
|
CONFIGURE_ARGS+= --enable-codecoverage
|
2009-09-21 14:25:21 +02:00
|
|
|
.endif
|
|
|
|
|
2010-11-29 20:01:14 +01:00
|
|
|
.if defined(WITH_DEFAULT_SENDER) && !defined(WITHOUT_DEFAULT_SENDER)
|
|
|
|
CONFIGURE_ARGS+= --enable-default_sender
|
|
|
|
.endif
|
|
|
|
|
2009-09-21 14:25:21 +02:00
|
|
|
.if defined(WITH_DIFFHEADERS) && !defined(WITHOUT_DIFFHEADERS)
|
|
|
|
CONFIGURE_ARGS+= --enable-diffheaders
|
|
|
|
LIB_DEPENDS+= tre:${PORTSDIR}/textproc/libtre
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_DKIM_REPUTATION) && !defined(WITHOUT_DKIM_REPUTATION)
|
2010-07-22 04:30:19 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-dkim_reputation
|
2009-09-21 14:25:21 +02:00
|
|
|
.endif
|
|
|
|
|
2010-07-22 04:30:19 +02:00
|
|
|
.if defined(WITH_IDENTITY_HEADER) && !defined(WITHOUT_IDENTITY_HEADER)
|
|
|
|
CONFIGURE_ARGS+= --enable-identity_header
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_LDAP_CACHING) && !defined(WITHOUT_LDAP_CACHING)
|
|
|
|
WITH_OPENLDAP= yes
|
|
|
|
CONFIGURE_ARGS+= --enable-ldap_caching
|
2009-09-21 14:25:21 +02:00
|
|
|
.endif
|
|
|
|
|
2011-04-27 12:12:21 +02:00
|
|
|
.if defined(WITH_MAXVERIFY) && !defined(WITHOUT_MAXVERIFY)
|
|
|
|
CONFIGURE_ARGS+= --enable-maxverify
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_OVERSIGN) && !defined(WITHOUT_OVERSIGN)
|
|
|
|
CONFIGURE_ARGS+= --enable-oversign
|
|
|
|
.endif
|
|
|
|
|
2009-09-21 14:25:21 +02:00
|
|
|
.if defined(WITH_PARSE_TIME) && !defined(WITHOUT_PARSE_TIME)
|
|
|
|
BROKEN= The feature ``_FFR_PARSE_TIME'' is incomplete, does not work
|
|
|
|
CONFIGURE_ARGS+= --enable-parsetime
|
|
|
|
.endif
|
|
|
|
|
2011-04-27 12:12:21 +02:00
|
|
|
.if defined(WITH_POSTGRES_RECONNECT_HACK) && !defined(WITHOUT_POSTGRES_RECONNECT_HACK)
|
|
|
|
CONFIGURE_ARGS+= --enable-postgres_reconnect_hack
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_RBL) && !defined(WITHOUT_RBL)
|
|
|
|
CONFIGURE_ARGS+= --enable-rbl
|
|
|
|
.endif
|
|
|
|
|
2010-07-22 04:30:19 +02:00
|
|
|
.if defined(WITH_REDIRECT) && !defined(WITHOUT_REDIRECT)
|
|
|
|
CONFIGURE_ARGS+= --enable-redirect
|
|
|
|
.endif
|
|
|
|
|
2009-09-21 14:25:21 +02:00
|
|
|
.if defined(WITH_REPLACE_RULES) && !defined(WITHOUT_REPLACE_RULES)
|
2010-07-22 04:30:19 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-replace_rules
|
2009-09-21 14:25:21 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_REPORT_INTERVALS) && !defined(WITHOUT_REPORT_INTERVALS)
|
2010-07-22 04:30:19 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-report_intervals
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_RESIGN) && !defined(WITHOUT_RESIGN)
|
|
|
|
CONFIGURE_ARGS+= --enable-resign
|
2009-09-21 14:25:21 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_SELECT_CANONICALIZATION) && !defined(WITHOUT_SELECT_CANONICALIZATION)
|
2010-07-22 04:30:19 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-select_canonicalization
|
2009-09-21 14:25:21 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_SELECTOR_HEADER) && !defined(WITHOUT_SELECTOR_HEADER)
|
2010-07-22 04:30:19 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-selector_header
|
2009-09-21 14:25:21 +02:00
|
|
|
.endif
|
|
|
|
|
2010-07-22 04:30:19 +02:00
|
|
|
.if defined(WITH_SENDER_MACRO) && !defined(WITHOUT_SENDER_MACRO)
|
|
|
|
CONFIGURE_ARGS+= --enable-sender_macro
|
2009-09-21 14:25:21 +02:00
|
|
|
.endif
|
|
|
|
|
2010-11-29 20:01:14 +01:00
|
|
|
.if defined(WITH_STATS) || defined(WITH_STATS_I) || defined(WITH_STATSEXT)
|
2009-09-21 14:25:21 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-stats
|
|
|
|
MAN8+= opendkim-stats.8
|
|
|
|
PLIST_SUB+= STATS=""
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= STATS="@comment "
|
|
|
|
.endif
|
|
|
|
|
2010-11-29 20:01:14 +01:00
|
|
|
.if defined(WITH_STATSEXT) && !defined(WITHOUT_STATSEXT)
|
|
|
|
CONFIGURE_ARGS+= --enable-statsext
|
2009-09-21 14:25:21 +02:00
|
|
|
.endif
|
|
|
|
|
2010-11-29 20:01:14 +01:00
|
|
|
.if defined(WITH_VBR) && !defined(WITHOUT_VBR)
|
|
|
|
CONFIGURE_ARGS+= --enable-vbr
|
2009-09-21 14:25:21 +02:00
|
|
|
.endif
|