pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/44689: IPv6 support disabled by default in chat/irssi



The following reply was made to PR pkg/44689; it has been noted by GNATS.

From: Thomas Klausner <wiz%NetBSD.org@localhost>
To: NetBSD bugtracking <gnats-bugs%NetBSD.org@localhost>
Cc: 
Subject: Re: pkg/44689: IPv6 support disabled by default in chat/irssi
Date: Sun, 6 Mar 2011 22:32:12 +0100

 On Sun, Mar 06, 2011 at 09:15:05PM +0000, David Holland wrote:
 >  Yes, we should. I have two reservations though: one is whether having
 >  it on even when it's not in PKG_SUGGESTED_OPTIONS is going to cause
 >  confusion; the other is that presumably in at least some of the
 >  packages where it's an option and disabled by default, it's disabled
 >  because it's broken or problematic in some way. Will it work for those
 >  cases (when we find them) to have PKG_SUGGESTED_OPTIONS include
 >  "-inet6"?
 
 Yes.
 
 There's no variable for pkgsrc-default-on options yet; currently, the
 processing looks first at the PKG_SUGGESTED_OPTIONS options (then
 legacy options), then PKG_DEFAULT_OPTIONS and finally at
 PKG_OPTIONS.<package>. We just have to prepend the global options as
 first.
 
 See pkgsrc/mk/bsd.options.mk starting from line 268 ("process options
 from generic to specific").
 
 The patch could look something like:
 -.for _o_ in ${PKG_SUGGESTED_OPTIONS} ${PKG_LEGACY_OPTIONS} \
 -        ${_OPTIONS_DEFAULT_SUPPORTED} ${${PKG_OPTIONS_VAR}}
 +.for _o_ in ${_PKGSRC_DEFAULT_OPTIONS} ${PKG_SUGGESTED_OPTIONS} \
 +        ${PKG_LEGACY_OPTIONS} ${_OPTIONS_DEFAULT_SUPPORTED} \
 +        ${${PKG_OPTIONS_VAR}}
 and we'd need to find a nice place where to define
 _PKGSRC_DEFAULT_OPTIONS.
  Thomas
 


Home | Main Index | Thread Index | Old Index