diff options
author | jlam <jlam@pkgsrc.org> | 2007-09-25 20:05:23 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2007-09-25 20:05:23 +0000 |
commit | 013d10861df1d2ea8403854cef365d104c8bf1ae (patch) | |
tree | 4fb4633d881c5002f8fcf7ba70d0c5c3139bc973 /mail/libmilter | |
parent | 33a60af8aed57d30c032806bb2c90173b6a04e3c (diff) | |
download | pkgsrc-013d10861df1d2ea8403854cef365d104c8bf1ae.tar.gz |
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.
Diffstat (limited to 'mail/libmilter')
-rw-r--r-- | mail/libmilter/Makefile | 8 | ||||
-rw-r--r-- | mail/libmilter/options.mk | 9 |
2 files changed, 14 insertions, 3 deletions
diff --git a/mail/libmilter/Makefile b/mail/libmilter/Makefile index 328eaa9ac02..b5dfdddab75 100644 --- a/mail/libmilter/Makefile +++ b/mail/libmilter/Makefile @@ -1,10 +1,12 @@ -# $NetBSD: Makefile,v 1.11 2007/04/26 06:47:06 jnemeth Exp $ - -.include "../../mail/sendmail/Makefile.common" +# $NetBSD: Makefile,v 1.12 2007/09/25 20:05:24 jlam Exp $ PKGNAME= libmilter-${DIST_VERS} +PKGREVISION= 1 COMMENT= Mail filter support library for sendmail +.include "options.mk" +.include "../../mail/sendmail/Makefile.common" + INSTALLATION_DIRS= include lib post-patch: make-sendmail-siteconfig 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 |