Skip to content

Instantly share code, notes, and snippets.

@jmroot
Created February 5, 2026 06:26
Show Gist options
  • Select an option

  • Save jmroot/5c29fe940a39fe12bc84e1079a71a910 to your computer and use it in GitHub Desktop.

Select an option

Save jmroot/5c29fe940a39fe12bc84e1079a71a910 to your computer and use it in GitHub Desktop.
license_noconflict test
% port info --pretty --name --license --depends testport1 testport2 testport3
name: testport1
License: GPL-2
Build Dependencies: testport2
--
name: testport2
License: BSD
Library Dependencies: testport3
--
name: testport3
License: GPL-3
port_binary_distributable.tcl -v testport1
"testport1" is not distributable because its license "GPL-2" conflicts with license "GPL-3" of dependency "testport3"
% echo "license_noconflict testport2" >> testport1/Portfile
port_binary_distributable.tcl -v testport1
"testport1" is distributable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment