From owner-freebsd-emulation@FreeBSD.ORG Sat Mar 24 15:04:59 2007 Return-Path: X-Original-To: emulation@FreeBSD.org Delivered-To: freebsd-emulation@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 20F5016A401 for ; Sat, 24 Mar 2007 15:04:59 +0000 (UTC) (envelope-from bsam@bsam.ru) Received: from mail.kuban.ru (mail.kuban.ru [62.183.66.246]) by mx1.freebsd.org (Postfix) with ESMTP id 9271313C459 for ; Sat, 24 Mar 2007 15:04:55 +0000 (UTC) (envelope-from bsam@bsam.ru) Received: from bsam.ru ([85.172.12.59]) by mail.kuban.ru (8.9.1/8.9.1) with ESMTP id l2OF4Q4K094972; Sat, 24 Mar 2007 18:04:45 +0300 (MSK) Received: from bsam by bsam.ru with local (Exim 4.62 (FreeBSD)) (envelope-from ) id 1HV7nC-0003nS-Uv; Sat, 24 Mar 2007 18:04:30 +0300 To: Alexander Leidinger References: <22513322@bsam.ru> <20070324144917.65a4b96a@Magellan.Leidinger.net> From: Boris Samorodov Date: Sat, 24 Mar 2007 18:04:30 +0300 In-Reply-To: <20070324144917.65a4b96a@Magellan.Leidinger.net> (Alexander Leidinger's message of "Sat, 24 Mar 2007 14:49:17 +0100") Message-ID: <43948769@bsam.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: Boris Samorodov Cc: emulation@FreeBSD.org Subject: Re: Support of both FC4 and FC6 infrostructure ports X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Mar 2007 15:04:59 -0000 On Sat, 24 Mar 2007 14:49:17 +0100 Alexander Leidinger wrote: > Quoting Boris Samorodov (Fri, 23 Mar 2007 22:39:17 +0300): > > It'll soon so happen (after compat.linux.osrelease will become 2.6.x > > by default at -CURRENT) that we may have two linux_base ports > > with the corresponding infrostructure ports. To minimize the influence > > of this fact on many linux-based ports I propose some changes to > > bsd.linux-rpm.mk. The idea is stolen from bsd.ports.mk: > > ----- > > .if defined(X_WINDOW_SYSTEM) && ${X_WINDOW_SYSTEM:L} == xorg > > X_IMAKE_PORT= ${PORTSDIR}/devel/imake-6 > > ... > > .elif defined(X_WINDOW_SYSTEM) && ${X_WINDOW_SYSTEM:L} == xfree86-4 > > X_IMAKE_PORT= ${PORTSDIR}/devel/imake-4 > > ... > > ----- > > > > That is what I suggest: > > ----- > > .if ${USE_LINUX:L} == "fc4" > > LINUX_TIFF_PORT= ${PORTSDIR}/graphics/linux-jpeg > > ... > > .elif ${USE_LINUX:L} == "fc6" > > LINUX_TIFF_PORT= ${PORTSDIR}/graphics/linux-fc6-jpeg > > ... > > ----- > You need to cover the default USE_LINUX too. I assume the "-jpeg" part > is a typo... :) Yes to both. :-) Thanks for the feedback. WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve