Created
February 5, 2026 06:26
-
-
Save jmroot/5c29fe940a39fe12bc84e1079a71a910 to your computer and use it in GitHub Desktop.
license_noconflict test
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| % 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