Subject: Suggestion: devel/gettext in current
To: None <tech-pkg@netbsd.org>
From: Ruibiao Qiu <ruibiao@arl.wustl.edu>
List: tech-pkg
Date: 02/11/2001 12:57:11
Hi, all

Since gettext is included in the current distribution, I wonder if
we need to distinguish if a package depends on "devel/gettext"?
Something like in bsd.pkg.mk may be of use:

.if defined(USA_CURRENT_GETTEXT)
BUILD_DEPENDS+=                msgfmt:../../devel/gettext
.endif

and remove all such "BUILD_DEPENDS+= .../devel/gettext" lines in
Makefiles.

This can at least save some build time.  It can also avoid the
build errors when you have an old a.out gettext package on the
way.  (This problem caused me a lot of time. :( )

          Regards

            Ruibiao

/~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\
   Ruibiao Qiu                      ruibiao@arl.wustl.edu
   Research Assistant               ruibiao@cs.wustl.edu
   Applied Research Laboratory      rq1@cec.wustl.edu
   Department of Computer Science   ruibiao@acm.org
   Washington University            http://www.arl.wustl.edu/~ruibiao
   Campus Box 1045                  http://www.cs.wustl.edu/~ruibiao
   One Brookings Drive              Tel. (314)935-4163
   St. Louis, MO 63130-4899 USA     Fax  (314)935-7302
\____________________________________________________________________/