ports/164345: Mk/bsd.licenses.mk framework not suitable for linuxulator ports

Alexander Leidinger netchild at FreeBSD.org
Fri Jan 20 21:50:08 UTC 2012

>Number:         164345
>Category:       ports
>Synopsis:       Mk/bsd.licenses.mk framework not suitable for linuxulator ports
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 20 21:50:07 UTC 2012
>Originator:     Alexander Leidinger
>Release:        current
does not matter
The net-linux-f10-nss_ldap port exhibits a problem:
 - without NO_LICENSES_INSTALL=yes it creates /compat/linux/share which is not cleaned up on deinstall (it does not exist before install)
 - even with NO_LICENSES_INSTALL it installs /compat/linux/GPLv2 (LICENSE=GPLv2 in Makefile) which is not added to the PLIST (and I wonder if it is supposed to install PREFIX/GPLv2 (I would not expect it, given that there is NO_LICENSES_INSTALL, respectively if it is not there, the license is already installed in PREFIX/share/PORTNAME/) and if yes, why it is not added to the PLIST)

Assumption: the GPLv2 file is installed in PREFIX/GPLv2 because it is created in WRKDIR by the license framework and the bsd.linux-rpm.mk copies all files (except WRKDIR/.*) from there into PREFIX.
In net/linux-f10-nss_ldap/Makefile:
  - remove the RM of the license in post-install
  - install the port


More information about the freebsd-ports-bugs mailing list