From owner-freebsd-emulation@FreeBSD.ORG Sat Mar 24 13:49:24 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 B7C0816A400 for ; Sat, 24 Mar 2007 13:49:24 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id 764F113C45B for ; Sat, 24 Mar 2007 13:49:24 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A5D33F.dip.t-dialin.net [84.165.211.63]) by redbull.bpaserver.net (Postfix) with ESMTP id B6CA82E165; Sat, 24 Mar 2007 14:49:20 +0100 (CET) Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) by outgoing.leidinger.net (Postfix) with ESMTP id 024255B4817; Sat, 24 Mar 2007 14:49:17 +0100 (CET) Date: Sat, 24 Mar 2007 14:49:17 +0100 From: Alexander Leidinger To: Boris Samorodov Message-ID: <20070324144917.65a4b96a@Magellan.Leidinger.net> In-Reply-To: <22513322@bsam.ru> References: <22513322@bsam.ru> X-Mailer: Claws Mail 2.8.1 (GTK+ 2.10.9; i686-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-15.364, required 8, autolearn=not spam, BAYES_00 -15.00, DK_POLICY_SIGNSOME 0.00, FORGED_RCVD_HELO 0.14, SMILEY -0.50) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No 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 13:49:24 -0000 Quoting Boris Samorodov (Fri, 23 Mar 2007 22:39:17 +0300): > Hi! > > > 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... :) I have not better ideas to handle this. Bye, Alexander. -- In West Union, Ohio, No married man can go flying without his spouse along at any time, unless he has been married for more than 12 months. http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137