Date: Fri, 20 Jan 2012 21:48:11 GMT From: Alexander Leidinger <netchild@FreeBSD.org> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/164345: Mk/bsd.licenses.mk framework not suitable for linuxulator ports Message-ID: <201201202148.q0KLmBTW070551@red.freebsd.org> Resent-Message-ID: <201201202150.q0KLo8ss049531@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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 >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jan 20 21:50:07 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Alexander Leidinger >Release: current >Organization: FreeBSD >Environment: does not matter >Description: 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. >How-To-Repeat: In net/linux-f10-nss_ldap/Makefile: - remove NO_LICENSES_INSTALL - remove the RM of the license in post-install - install the port >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201201202148.q0KLmBTW070551>