Subject: Re: Curious deprecated option handling
To: None <tech-pkg@netbsd.org>
From: Jeroen Ruigrok/asmodai <asmodai@in-nomine.org>
List: tech-pkg
Date: 09/02/2005 15:59:41
-On [20050902 15:36], Jeroen Ruigrok/asmodai (asmodai@in-nomine.org) wrote:
>I got interested in how the deprecated options got handled when it seemingly
>seems not to reflect a pkg reality.
Add to this:
mk/defaults/mk.conf:USE_OPENLDAP?= NO
Which will cause: Deprecated variable USE_OPENLDAP used, use
PKG_DEFAULT_OPTIONS+=ldap instead.
for about 10-20 pkgs.
mk/defaults/mk.conf:USE_CANNA?= YES
Which will cause: Deprecated variable USE_CANNA used, use
PKG_DEFAULT_OPTIONS+=canna instead.
for about 5-10 pkgs.
mk/djbware.mk:DJB_ERRNO_HACK?= YES
Which will cause: Deprecated variable DJB_ERRNO_HACK used, use
PKG_DEFAULT_OPTIONS+=djbware-errno-hack instead.
for about 10 pkgs.
The entire DJB_ERRNO_HACK variable can be nuked anyway:
within pkgsrc: $ grep -R DJB_ERRNO_HACK *
mk/djbware.mk:DJB_ERRNO_HACK?= YES
mk/djbware.mk:PKG_OPTIONS_LEGACY_VARS+= DJB_ERRNO_HACK:djbware-errno-hack
--
Jeroen Ruigrok van der Werven <asmodai(at)wxs.nl> / asmodai / kita no mono
Free Tibet! http://www.savetibet.org/ | http://www.andf.info/
http://www.tendra.org/ | http://www.in-nomine.org/
Believe in Angels...