Date: Sat, 24 Mar 2007 18:04:30 +0300 From: Boris Samorodov <bsam@ipt.ru> To: Alexander Leidinger <Alexander@Leidinger.net> Cc: emulation@FreeBSD.org Subject: Re: Support of both FC4 and FC6 infrostructure ports Message-ID: <43948769@bsam.ru> In-Reply-To: <20070324144917.65a4b96a@Magellan.Leidinger.net> (Alexander Leidinger's message of "Sat, 24 Mar 2007 14:49:17 %2B0100") References: <22513322@bsam.ru> <20070324144917.65a4b96a@Magellan.Leidinger.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 24 Mar 2007 14:49:17 +0100 Alexander Leidinger wrote: > Quoting Boris Samorodov <bsam@ipt.ru> (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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43948769>