Port License Changes Depending on Options

Reed A. Cartwright cartwright at asu.edu
Thu May 21 20:39:58 UTC 2015


I have submitted a patch to add a port: biology/bcftools.

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199747

The port is dual licensed (MIT/GPL); however,  If it is compiled with
option GPL, then some features are enabled with require it to be
licensed under GPL.

I've solved this by choosing to change the license if GPL is enabled:

LICENSE= MIT
[snip...]
.if ${PORT_OPTIONS:MGPL}
MAKE_ENV+= USE_GPL=1
LICENSE= GPLv3
.endif

However, I am not sure if this is the accepted way to specify the
license in this case.  Does anyone have any other opinion?

-- 
Reed A. Cartwright, PhD
Barrett Honors Faculty
Assistant Professor of Genomics, Evolution, and Bioinformatics
School of Life Sciences
Center for Evolutionary Medicine and Informatics
The Biodesign Institute
Arizona State University
==================
Address: The Biodesign Institute, PO Box 875301, Tempe, AZ 85287-5301 USA
Packages: The Biodesign Institute, 1001 S. McAllister Ave, Tempe, AZ
85287-5301 USA
Office: Biodesign A-224A, 1-480-965-9949
Website: http://cartwrig.ht/


More information about the freebsd-ports mailing list