tech-pkg archive

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

Re: LICENSE as a conditional list


On Thu, 29 Sep 2011 19:09:54 +0900, Filip Hajny <> 

Hi guys,

would this be considered invalid?

.if !empty(PKG_OPTIONS:Mextra)
LICENSE+=               AND extra-license
CONFIGURE_ARGS+=        --with-extra

Pkglint complains, but it seems to be doing the right thing. Obviously useful 
for when throwing in some extra code adds in a new license.

I'm using same logic in some packages.

OBATA Akio /

Home | Main Index | Thread Index | Old Index