pkgsrc-Bugs archive

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

Re: pkg/44695: Please add build setting for multi-packages to _BUILD_DEFS [patch]



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

From: Aleksey Cheusov <cheusov%tut.by@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: pkg-manager%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, 
pkgsrc-bugs%netbsd.org@localhost
Subject: Re: pkg/44695: Please add build setting for multi-packages to 
_BUILD_DEFS [patch]
Date: Tue, 08 Mar 2011 11:48:36 +0200

 >  No, I mean
 >      BUILD_DEFS+=    PYTHON_VERSION_REQD=${_PYTHON_VERSION}
 >  (and similar)
 
 This is bad because in this case build tool must have knowledge about
 pkgsrc internals (python/php/ruby/apache list). What if in a few months
 emacses, Lua or something else become a part of this list? The main idea
 for variable MULTI was to hide this magic list (php, ruby, apache,
 apache) and to apply all setting from it for building without any
 hardcoding.
 
 -- 
 Best regards, Aleksey Cheusov.
 


Home | Main Index | Thread Index | Old Index