diff options
author | jlam <jlam@pkgsrc.org> | 2007-09-07 22:12:10 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2007-09-07 22:12:10 +0000 |
commit | 07dd3147c68f13b523ce8edfd486a3f4f0d47fe1 (patch) | |
tree | e65f4ff0343b21db10e01b4ee2a8fa56a72846a8 /mail/smtpfeed | |
parent | cdb276bfa1d6c9954bf0587b81f6152203d30047 (diff) | |
download | pkgsrc-07dd3147c68f13b523ce8edfd486a3f4f0d47fe1.tar.gz |
Convert packages that test and use USE_INET6 to use the options framework
and to support the "inet6" option instead.
Remaining usage of USE_INET6 was solely for the benefit of the scripts
that generate the README.html files. Replace:
BUILD_DEFS+= USE_INET6
with
BUILD_DEFS+= IPV6_READY
and teach the README-generation tools to look for that instead.
This nukes USE_INET6 from pkgsrc proper. We leave a tiny bit of code
to continue to support USE_INET6 for pkgsrc-wip until it has been nuked
from there as well.
Diffstat (limited to 'mail/smtpfeed')
-rw-r--r-- | mail/smtpfeed/Makefile | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/mail/smtpfeed/Makefile b/mail/smtpfeed/Makefile index 2150b87cbd8..933f1075b81 100644 --- a/mail/smtpfeed/Makefile +++ b/mail/smtpfeed/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.29 2007/02/22 19:26:44 wiz Exp $ +# $NetBSD: Makefile,v 1.30 2007/09/07 22:12:13 jlam Exp $ DISTNAME= smtpfeed-1.18 PKGREVISION= 1 @@ -16,10 +16,10 @@ COMMENT= SMTP Fast Exploding External Deliverer for Sendmail # require sendmail from pkgsrc. #DEPENDS+= sendmail>=8.9.3:../../mail/sendmail -GNU_CONFIGURE= yes +GNU_CONFIGURE= yes CONFIGURE_ARGS+= --libexecdir=${PREFIX:Q}/libexec # configure tries to be clever, so force our setting -CONFIGURE_ENV+= my_cv_path_lib_exec=${PREFIX:Q}/libexec +CONFIGURE_ENV+= my_cv_path_lib_exec=${PREFIX:Q}/libexec # use bind8? #CONFIGURE_ARGS+= --with-bind8 @@ -27,16 +27,17 @@ DOCS= COPYRIGHT FEATURES FEATURES.j FYI FYI.j INSTALL INSTALL.j \ ML-ADMIN ML-ADMIN.j OPTIONS OPTIONS.j README README.j \ RELEASE.NOTE SIGNAL SIGNAL.j TODO -BUILD_DEFS+= USE_INET6 +PKG_OPTIONS_VAR= PKG_OPTIONS.smtpfeed +PKG_SUPPORTED_OPTIONS= inet6 -INSTALLATION_DIRS= libexec ${PKGMANDIR}/man8 share/doc/smtpfeed - -.include "../../mk/bsd.prefs.mk" +.include "../../mk/bsd.options.mk" -.if defined(USE_INET6) && ${USE_INET6} == YES -CONFIGURE_ARGS+=--enable-ipv6 +.if !empty(PKG_OPTIONS:Minet6) +CONFIGURE_ARGS+= --enable-ipv6 .endif +INSTALLATION_DIRS= libexec ${PKGMANDIR}/man8 share/doc/smtpfeed + post-install: ${INSTALL_MAN} ${WRKSRC}/smtpfeed.8 ${PREFIX}/${PKGMANDIR}/man8 for i in ${DOCS}; do \ |