Support of both FC4 and FC6 infrostructure ports

Boris Samorodov bsam at ipt.ru
Sat Mar 24 15:04:59 UTC 2007


On Sat, 24 Mar 2007 14:49:17 +0100 Alexander Leidinger wrote:
> Quoting Boris Samorodov <bsam at 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


More information about the freebsd-emulation mailing list