From owner-freebsd-emulation@FreeBSD.ORG Wed Apr 16 19:09:58 2008 Return-Path: Delivered-To: emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C5A8D1065674 for ; Wed, 16 Apr 2008 19:09:58 +0000 (UTC) (envelope-from cyberbotx@kirby.cyberbotx.com) Received: from QMTA04.emeryville.ca.mail.comcast.net (qmta04.emeryville.ca.mail.comcast.net [76.96.30.40]) by mx1.freebsd.org (Postfix) with ESMTP id ACF7A8FC1A for ; Wed, 16 Apr 2008 19:09:58 +0000 (UTC) (envelope-from cyberbotx@kirby.cyberbotx.com) Received: from OMTA12.emeryville.ca.mail.comcast.net ([76.96.30.44]) by QMTA04.emeryville.ca.mail.comcast.net with comcast id EEgX1Z0010x6nqcA40NZ00; Wed, 16 Apr 2008 18:52:22 +0000 Received: from kirby.cyberbotx.com ([68.43.195.82]) by OMTA12.emeryville.ca.mail.comcast.net with comcast id EJts1Z00N1n8LeU8Y00000; Wed, 16 Apr 2008 18:53:55 +0000 X-Authority-Analysis: v=1.0 c=1 a=HANIxSjoBhIA:10 a=vBz86LmnWmIA:10 a=DMjhtkt-dCYA:10 a=ILMVtcSe402TM72AMKYA:9 a=3_5XwWuzuMMJS1ZeaFYA:7 a=MNKhykG-2AruKXNdWbBBV_MVJdUA:4 a=M3PvEdNFSBYA:10 Received: from kirby.cyberbotx.com (localhost [127.0.0.1]) by kirby.cyberbotx.com (Postfix) with ESMTP id 9DF5A11C83; Wed, 16 Apr 2008 14:53:50 -0400 (EDT) Received: (from root@localhost) by kirby.cyberbotx.com (8.14.2/8.14.2/Submit) id m3GIroZ7057076; Wed, 16 Apr 2008 14:53:50 -0400 (EDT) (envelope-from cyberbotx) Date: Wed, 16 Apr 2008 14:53:50 -0400 (EDT) Message-Id: <200804161853.m3GIroZ7057076@kirby.cyberbotx.com> To: FreeBSD-gnats-submit@freebsd.org From: Naram Qashat X-send-pr-version: 3.113 X-GNATS-Notify: Cc: emulation@freebsd.org Subject: [PATCH] Mk/bsd.linux-rpm.mk: Handle USE_LINUX for fc6, f7, f8 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Naram Qashat List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Apr 2008 19:09:58 -0000 >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 ---