Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Mar 2007 14:49:17 +0100
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        Boris Samorodov <bsam@ipt.ru>
Cc:        emulation@FreeBSD.org
Subject:   Re: Support of both FC4 and FC6 infrostructure ports
Message-ID:  <20070324144917.65a4b96a@Magellan.Leidinger.net>
In-Reply-To: <22513322@bsam.ru>
References:  <22513322@bsam.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Boris Samorodov <bsam@ipt.ru> (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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070324144917.65a4b96a>