tech-pkg archive

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

Re: LICENSE as a conditional list



Hi,

On Thu, 29 Sep 2011 19:09:54 +0900, Filip Hajny <filip%joyent.com@localhost> 
wrote:

Hi guys,

would this be considered invalid?

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

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 / obache%NetBSD.org@localhost


Home | Main Index | Thread Index | Old Index