Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Apr 2008 14:53:50 -0400 (EDT)
From:      Naram Qashat <cyberbotx@cyberbotx.com>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        emulation@freebsd.org
Subject:   [PATCH] Mk/bsd.linux-rpm.mk: Handle USE_LINUX for fc6, f7, f8
Message-ID:  <200804161853.m3GIroZ7057076@kirby.cyberbotx.com>

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

>Submitter-Id:	current-users
>Originator:	Naram Qashat
>Organization:	
>Confidential:	no 
>Synopsis:	[PATCH] Mk/bsd.linux-rpm.mk: Handle USE_LINUX for fc6, f7, f8
>Severity:	non-critical
>Priority:	low
>Category:	ports
>Class:		change-request
>Release:	FreeBSD 7.0-RELEASE i386
>Environment:
System: FreeBSD kirby.cyberbotx.com 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Fri Mar 28 02:34:00 EDT 2008 root@kirby.cyberbotx.com:/usr/obj/usr/src/sys/CBXKERN i386


	
>Description:
	The use of a non-fc4 value in USE_LINUX (or OVERRIDE_LINUX_BASE_PORT)
	causes an IGNORE to come up when AUTOMATIC_PLIST is set in a linux
	port.  This patch will correct the issue when fc6, f7, or f8 are used.
>How-To-Repeat:
	Attempt to install audio/linux-alsa-lib with the current bsd.linux-rpm.mk
	when OVERRIDE_LINUX_BASE_PORT is set to fc6, f7, or f8.
>Fix:

	

--- bsd.linux-rpm.mk.diff begins here ---
--- /usr/ports/Mk/bsd.linux-rpm.mk.orig	2006-10-05 13:20:25.000000000 -0400
+++ /kirby/shared/ports/Mk/bsd.linux-rpm.mk	2008-04-16 14:44:57.000000000 -0400
@@ -109,6 +109,12 @@
 
 .    if ${USE_LINUX} == "fc4" || ${USE_LINUX:L} == "yes"
 _LINUX_BASE_SUFFIX=		fc4
+.    elif ${USE_LINUX} == "fc6"
+_LINUX_BASE_SUFFIX=		fc6
+.    elif ${USE_LINUX} == "f7"
+_LINUX_BASE_SUFFIX=		f7
+.    elif ${USE_LINUX} == "f8"
+_LINUX_BASE_SUFFIX=		f8
 .    else
 # other linux_base ports do not provide a pkg-plist file
 IGNORE=					uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\" and \"fc4\"
--- bsd.linux-rpm.mk.diff ends here ---





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