From c8a01556725be9af854eeba479e0be63b2af67b5 Mon Sep 17 00:00:00 2001 From: jlam Date: Tue, 25 Sep 2007 20:05:23 +0000 Subject: The sendmail and libmilter should have different sets of options. In particular, libmilter does *not* support "ldap", "sasl", etc. which are supported by only sendmail. Do this through the following: (1) Create libmilter/options.mk with support for the "inet6" option. (2) Drop inclusion of options.mk from sendmail/Makefile.common and move it to libmilter/Makefile and sendmail/Makefile. While here, properly support IPv6 on FreeBSD, which like DragonFly has getipnodebyname() in libc. As a result of these changes, libmilter will no longer depend on cyrus-sasl or openssl or openldap-client depending on what is set in PKG_DEFAULT_OPTIONS. Bump the PKGREVISION of libmilter to 1 due to the changed dependency list. No change to sendmail as the binary package does not change. --- mail/libmilter/options.mk | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 mail/libmilter/options.mk (limited to 'mail/libmilter/options.mk') diff --git a/mail/libmilter/options.mk b/mail/libmilter/options.mk new file mode 100644 index 00000000000..f67e6a5c7b3 --- /dev/null +++ b/mail/libmilter/options.mk @@ -0,0 +1,9 @@ +# $NetBSD: options.mk,v 1.1 2007/09/25 20:05:24 jlam Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.libmilter +PKG_SUPPORTED_OPTIONS= inet6 +PKG_SUGGESTED_OPTIONS= # empty + +.include "../../mk/bsd.options.mk" + +# IPv6 support is handled directly in ../sendmail/Makefile.common -- cgit v1.2.3