Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Sep 2006 12:26:00 +0300
From:      Vasil Dimov <vd@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        portmgr@FreeBSD.org
Subject:   ports/103184: [patch] bsd.port.mk: get rid of the outdated emulators/linux_base
Message-ID:  <20060912092600.GA50599@qlovarnika.bg.datamax>
Resent-Message-ID: <200609121130.k8CBUKbD015172@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         103184
>Category:       ports
>Synopsis:       [patch] bsd.port.mk: get rid of the outdated emulators/linux_base
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 12 11:30:20 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Vasil Dimov
>Release:        FreeBSD 6.1-STABLE amd64
>Organization:
N/A
>Environment:

>Description:

In order to remove emulators/linux_base the following change should be
committed to bsd.port.mk to avoid breakages.

>How-To-Repeat:

>Fix:

--- bsd.port.mk-linux.diff begins here ---
Index: bsd.port.mk
===================================================================
RCS file: /usr/local/pcvs/ports/Mk/bsd.port.mk,v
retrieving revision 1.540
diff -u -r1.540 bsd.port.mk
--- bsd.port.mk	14 Aug 2006 13:24:18 -0000	1.540
+++ bsd.port.mk	12 Sep 2006 09:21:51 -0000
@@ -1795,14 +1795,10 @@
 .	if exists(${PORTSDIR}/emulators/linux_base-${USE_LINUX})
 LINUX_BASE_PORT=	${LINUXBASE}/bin/sh:${PORTSDIR}/emulators/linux_base-${USE_LINUX}
 .	else
-.		if ${USE_LINUX} == "7"
-LINUX_BASE_PORT=	${LINUXBASE}/etc/redhat-release:${PORTSDIR}/emulators/linux_base
-.		else
-.			if ${USE_LINUX:L} == "yes"
+.		if ${USE_LINUX:L} == "yes"
 LINUX_BASE_PORT=	${LINUXBASE}/etc/fedora-release:${PORTSDIR}/emulators/linux_base-fc4
-.			else
+.		else
 IGNORE=	There is no emulators/linux_base-${USE_LINUX}, perhaps wrong use of USE_LINUX or OVERRIDE_LINUX_BASE_PORT.
-.			endif
 .		endif
 .	endif
 
--- bsd.port.mk-linux.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060912092600.GA50599>