summaryrefslogtreecommitdiff
path: root/mail/sendmail812/Makefile.common
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2005-08-01 14:54:33 +0000
committerwiz <wiz@pkgsrc.org>2005-08-01 14:54:33 +0000
commit9539424e981f90169a1cf21995c4cdc9fd2871fc (patch)
treec6a580e65e08faf42c727c1cf1d5d51da462b0bd /mail/sendmail812/Makefile.common
parent470ccea7b9ee79f81d232fc7ffea8d9df1df9444 (diff)
downloadpkgsrc-9539424e981f90169a1cf21995c4cdc9fd2871fc.tar.gz
Convert to options framework.
Diffstat (limited to 'mail/sendmail812/Makefile.common')
-rw-r--r--mail/sendmail812/Makefile.common6
1 files changed, 2 insertions, 4 deletions
diff --git a/mail/sendmail812/Makefile.common b/mail/sendmail812/Makefile.common
index 11d406bed68..583078a7771 100644
--- a/mail/sendmail812/Makefile.common
+++ b/mail/sendmail812/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.6 2005/05/22 20:08:12 jlam Exp $
+# $NetBSD: Makefile.common,v 1.7 2005/08/01 14:54:33 wiz Exp $
#
# Makefile fragment shared with libmilter
#
@@ -25,8 +25,6 @@ MAKE_ENV+= BSD_BINOWN="${BINOWN}" BSD_BINGRP="${BINGRP}" \
BUILDLINK_DIR="${BUILDLINK_DIR}"
SITECONFIG= ${WRKSRC}/devtools/Site/site.config.m4
-BUILD_DEFS+= USE_INET6 USE_TCPWRAPPERS USE_OPENLDAP USE_DB2 \
- USE_SASL2 USE_STARTTLS USE_DB4
DESCR_SRC= ${WRKDIR}/.DESCR_SRC
WRKSRC= ${WRKDIR}/sendmail-${DIST_VERS}
@@ -41,7 +39,7 @@ make-sendmail-siteconfig:
${CP} ${PKGDIR}/DESCR ${DESCR_SRC}
${ECHO} '---' >>${DESCR_SRC}
${ECHO} -n 'compiled features:' >>${DESCR_SRC}
-.if defined(USE_INET6) && ${USE_INET6} == YES
+.if !empty(PKG_OPTIONS:Minet6)
${CAT} ${FILESDIR}/site.config.m4-v6 >>${SITECONFIG}
.if ${OPSYS} != "SunOS" && ${OPSYS} != "BSDOS"
${CAT} ${FILESDIR}/site.config.m4-v6-not-solaris >>${SITECONFIG}