[Midnightbsd-cvs] mports [15879] trunk/Mk/components: fix multi license support

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Fri Feb 21 15:24:03 EST 2014


Revision: 15879
          http://svnweb.midnightbsd.org/mports/?rev=15879
Author:   laffer1
Date:     2014-02-21 15:24:02 -0500 (Fri, 21 Feb 2014)
Log Message:
-----------
fix multi license support

Modified Paths:
--------------
    trunk/Mk/components/licenses.db.mk
    trunk/Mk/components/licenses.mk

Modified: trunk/Mk/components/licenses.db.mk
===================================================================
--- trunk/Mk/components/licenses.db.mk	2014-02-21 20:23:47 UTC (rev 15878)
+++ trunk/Mk/components/licenses.db.mk	2014-02-21 20:24:02 UTC (rev 15879)
@@ -101,8 +101,8 @@
 _LICENSE_NAME_lgpl20=	GNU Library General Public License version 2.0
 _LICENSE_GROUPS_lgpl20=	FSF GPL OSI
 
-_LICENSE_NAME_lgpl21=	GNU Lesser General Public License version 2.1
-_LICENSE_GROUPS_lgpl21=	FSF GPL OSI
+_LICENSE_NAME_lgpl2.1=	GNU Lesser General Public License version 2.1
+_LICENSE_GROUPS_lgpl2.1=	FSF GPL OSI
 
 _LICENSE_NAME_lgpl3=	GNU Lesser General Public License version 3
 _LICENSE_GROUPS_lgpl3=	FSF GPL OSI

Modified: trunk/Mk/components/licenses.mk
===================================================================
--- trunk/Mk/components/licenses.mk	2014-02-21 20:23:47 UTC (rev 15878)
+++ trunk/Mk/components/licenses.mk	2014-02-21 20:24:02 UTC (rev 15879)
@@ -182,7 +182,7 @@
 .	for lic in ${_LICENSE}
 # Defaults to empty
 _LICENSE_GROUPS_${lic}?=#
-.		if ${_LICENSE_LIST:M${lic}} != ""
+.		if ${_LICENSES:M${lic}} != ""
 # Case 1: license defined in the framework.
 _LICENSE_TYPE_${lic}=	known
 .			for var in ${_LICENSE_LIST_PORT_VARS}



More information about the Midnightbsd-cvs mailing list