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]



>  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