Subject: changing BUILD_DEPENDS syntax
To: None <tech-pkg@netbsd.org>
From: Hubert Feyrer <feyrer@rfhs8012.fh-regensburg.de>
List: tech-pkg
Date: 02/28/2000 05:58:50
I'd like for BUILD_DEPENDS to use the same syntax as DEPENDS (i.e. a
package name/pattern as first thing, no command/filename):

 - consisitency in interface & use
 - no more accidentally picking up of some random things the user 
   has in $PATH
 - save some forks/make(1) calls

See http://www.feyrer.de/Misc/bsd.pkg.mk-newBUILD_DEPENDSsyntax.patch1 for
an idea. What this does is basically to throw out all the DEPENDS_USE
macro, and add $BUILD_DEPENDS in the places where $DEPENDS is handled
anyways already (EXCEPT when it comes to which pkgs are noted as
dependencies of course :-).

If I hear no objections to this, I'll start reworking all the
BUILD_DEPENDS, then commit.


 - Hubert

-- 
NetBSD - Better for your uptime than Viagra