Date: Sun, 4 Jul 2004 00:40:03 +0200 From: Dejan Lesjak <dejan.lesjak@ijs.si> To: Skip Ford <skip.ford@verizon.net> Cc: freebsd-x11@freebsd.org Subject: Re: Proposal for bsd.port.mk change to allow XFree86/XOrg coexistance in ports Message-ID: <200407040040.03895.dejan.lesjak@ijs.si> In-Reply-To: <20040703161006.GA699@lucy.pool-151-204-204-204.pskn.east.verizon.net> References: <200407022356.30876.dejan.lesjak@ijs.si> <20040703161006.GA699@lucy.pool-151-204-204-204.pskn.east.verizon.net>
index | next in thread | previous in thread | raw e-mail
On Saturday 03 of July 2004 18:10, Skip Ford wrote:
> Dejan Lesjak wrote:
> > Ahem, and here is the patch inline this time...
> >
> > --- bsd.port.mk.orig Tue Jun 29 22:52:56 2004
> > +++ bsd.port.mk Tue Jun 29 23:50:14 2004
> > @@ -1396,6 +1396,41 @@
> > LIB_DEPENDS+= ttf.4:${PORTSDIR}/print/freetype
> > .endif
> >
> > +.if defined(XWINDOW_SYSTEM) && ${XWINDOW_SYSTEM:L} == xorg
>
> Why not use WITH_XORG?
No particular reason. I was thinking about also having -devel versions of
ports, so make.conf could then have XWINDOW_SYSTEM=xorg-devel for example.
But of course this can olso be done by defining WITH_XORG_DEVEL or some such.
Perhaps I wanted to avoid introducing even more variables, when I saw how
many there already would be :)
One another option with less variables would be perhaps possible with some
sort of prefix variable. Something like this:
X_PORTS_PREFIX= xorg-
and then depending on libraries like so:
LIB_DEPENDS= X11.6:${PORTSDIR}/x11/${X_PORTS_PREFIX}libraries
Perhaps something like this would be more elegant. Some of ports would
probably have to be renamed a bit for this though (eg. XFree86-4-fontScalable
vs xorg-fonts-truetype and xorg-fonts-type1).
Dejan
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407040040.03895.dejan.lesjak>
