Date: Sun, 26 Dec 2004 02:08:14 +0100 (CET) From: Peter van Dijk <peter@dataloss.nl> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/75499: USE_LINUX checks for RedHat, not for any Linux install Message-ID: <200412260108.iBQ18EtD080694@sjalotje.home.liessa.net> Resent-Message-ID: <200412260110.iBQ1AP1j021804@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 75499 >Category: ports >Synopsis: USE_LINUX checks for RedHat, not for any Linux install >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: Sun Dec 26 01:10:24 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Peter van Dijk >Release: FreeBSD 5.3-RELEASE i386 >Organization: - >Environment: System: FreeBSD dew.mob.dataloss.nl 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov 5 04:19:18 UTC 2004 root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 plus linux_base-debian-3.0.23_1 >Description: If a port specifies USE_LINUX=yes, indicating that it requires Linux binary compatibility, the ports framework checks for redhat-release: (from /usr/ports/Mk/bsd.port.mk): .if defined(USE_LINUX) RUN_DEPENDS+= ${LINUXBASE}/etc/redhat-release:${PORTSDIR}/emulators/linux_base .endif >How-To-Repeat: Install any port that requires Linux support, on a system that has a linux_base other than the RedHat ones. >Fix: Change the relevant line in Mk/bsd.port.mk to read: RUN_DEPENDS+= ${LINUXBASE}/bin/sh:${PORTSDIR}/emulators/linux_base bin/sh is the best option I could come up with, another file that is certain to exist with all of the linux_base ports would do just fine as well. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200412260108.iBQ18EtD080694>