diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2017-03-04 21:48:15 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2017-03-04 21:48:15 +0800 |
commit | 13789b176dd0008a08a2a4d0c830e6ad84c90f68 (patch) | |
tree | 61050af5f018ddff03b0de9ec2b9b4bdcb42ed23 /Mk | |
parent | fcc4e938b3a6c0c6161436ad1105995e8be8043f (diff) | |
download | freebsd-ports-gnome-13789b176dd0008a08a2a4d0c830e6ad84c90f68.tar.gz freebsd-ports-gnome-13789b176dd0008a08a2a4d0c830e6ad84c90f68.tar.zst freebsd-ports-gnome-13789b176dd0008a08a2a4d0c830e6ad84c90f68.zip |
Remove superfluous space
Differential Revision: https://reviews.freebsd.org/D9162
Submitted by: sunpoet (myself)
Reviewed by: amdmi3
Approved by: portmgr (mat)
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.licenses.db.mk | 4 | ||||
-rw-r--r-- | Mk/bsd.licenses.mk | 24 |
2 files changed, 13 insertions, 15 deletions
diff --git a/Mk/bsd.licenses.db.mk b/Mk/bsd.licenses.db.mk index 1fb2e135817f..aac61d9f6ced 100644 --- a/Mk/bsd.licenses.db.mk +++ b/Mk/bsd.licenses.db.mk @@ -399,8 +399,6 @@ _LICENSE_GROUPS_ZPL21= GPL OSI .for lic in ${_LICENSE_LIST} . if !defined(_LICENSE_PERMS_${lic}) -# note that space before = is needed to correctly handle licenses -# ending with a plus sign -_LICENSE_PERMS_${lic} = ${_LICENSE_PERMS_DEFAULT} +_LICENSE_PERMS_${lic}= ${_LICENSE_PERMS_DEFAULT} . endif .endfor diff --git a/Mk/bsd.licenses.mk b/Mk/bsd.licenses.mk index 243272cb5e02..606a4fd65889 100644 --- a/Mk/bsd.licenses.mk +++ b/Mk/bsd.licenses.mk @@ -301,7 +301,7 @@ _LICENSE_DISTFILES= ${LICENSE_DISTFILES} _LICENSE_GROUPS_${lic}?=# . if ${_LICENSE_LIST:M${lic}} != "" # Case 1: license defined in the framework. -_LICENSE_TYPE_${lic} = known +_LICENSE_TYPE_${lic}= known . for var in ${_LICENSE_LIST_PORT_VARS} . if defined(LICENSE_${var}_${lic}) _LICENSE_ERROR?= redefining LICENSE_${var}_${lic} is not allowed for known licenses, to define a custom license try another LICENSE name for ${lic} like ${lic}-variant @@ -314,25 +314,25 @@ _LICENSE_ERROR?= ERROR: missing _LICENSE_${var}_${lic} in bsd.licenses.db.mk . if !defined(LICENSE_FILE_${lic}) . if !defined(LICENSE_TEXT_${lic}) . if exists(${_LICENSE_STORE}/${lic}) -_LICENSE_FILE_${lic} = ${_LICENSE_STORE}/${lic} +_LICENSE_FILE_${lic}= ${_LICENSE_STORE}/${lic} . else # No license file in /usr/ports/Templates/Licenses -_LICENSE_TEXT_${lic} = The license: ${lic} (${_LICENSE_NAME_${lic}}) is standard, please read from the web. -_LICENSE_FILE_${lic} = ${WRKDIR}/${lic} +_LICENSE_TEXT_${lic}= The license: ${lic} (${_LICENSE_NAME_${lic}}) is standard, please read from the web. +_LICENSE_FILE_${lic}= ${WRKDIR}/${lic} . endif . else _LICENSE_ERROR?= defining LICENSE_TEXT_${lic} is not allowed for known licenses . endif . else -_LICENSE_FILE_${lic} = ${LICENSE_FILE_${lic}} +_LICENSE_FILE_${lic}= ${LICENSE_FILE_${lic}} . endif . else # Case 2: license only known by the port. -_LICENSE_TYPE_${lic} = unknown +_LICENSE_TYPE_${lic}= unknown . for var in ${_LICENSE_LIST_PORT_VARS} . if defined(LICENSE_${var}_${lic}) -_LICENSE_${var}_${lic} = ${LICENSE_${var}_${lic}} +_LICENSE_${var}_${lic}= ${LICENSE_${var}_${lic}} . elif !defined(_LICENSE_${var}_${lic}) _LICENSE_ERROR?= for unknown licenses, defining LICENSE_${var}_${lic} is mandatory (otherwise use a known LICENSE) . endif @@ -354,11 +354,11 @@ _LICENSE_PERMS_${lic}:= ${__LICENSE_PERMS} . if !defined(LICENSE_TEXT_${lic}) _LICENSE_ERROR?= either LICENSE_FILE_${lic} or LICENSE_TEXT_${lic} must be defined . else -_LICENSE_TEXT_${lic} = ${LICENSE_TEXT_${lic}} -_LICENSE_FILE_${lic} = ${WRKDIR}/${lic} +_LICENSE_TEXT_${lic}= ${LICENSE_TEXT_${lic}} +_LICENSE_FILE_${lic}= ${WRKDIR}/${lic} . endif . else -_LICENSE_FILE_${lic} = ${LICENSE_FILE_${lic}} +_LICENSE_FILE_${lic}= ${LICENSE_FILE_${lic}} . endif . endif @@ -368,9 +368,9 @@ _LICENSE_ERROR?= defining both LICENSE_FILE_${lic} and LICENSE_TEXT_${lic}is no . endif # Distfiles . if !defined(LICENSE_DISTFILES_${lic}) -_LICENSE_DISTFILES_${lic} = ${_DISTFILES} +_LICENSE_DISTFILES_${lic}= ${_DISTFILES} . else -_LICENSE_DISTFILES_${lic} = ${LICENSE_DISTFILES_${lic}} +_LICENSE_DISTFILES_${lic}= ${LICENSE_DISTFILES_${lic}} . endif . endfor .endif |