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: ports/122826: [PATCH] Mk/bsd.linux-rpm.mk: Handle USE_LINUX for fc6, f7, f8 Message-ID: <200804161853.m3GIroZ7057076@kirby.cyberbotx.com> Resent-Message-ID: <200804161900.m3GJ05wr002122@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 122826 >Category: ports >Synopsis: [PATCH] Mk/bsd.linux-rpm.mk: Handle USE_LINUX for fc6, f7, f8 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Apr 16 19:00:04 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Naram Qashat >Release: FreeBSD 7.0-RELEASE i386 >Organization: >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 --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200804161853.m3GIroZ7057076>