Support of both FC4 and FC6 infrostructure ports
Alexander Leidinger
Alexander at Leidinger.net
Sat Mar 24 13:49:24 UTC 2007
Quoting Boris Samorodov <bsam at 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
More information about the freebsd-emulation
mailing list