Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Jul 2004 23:07:02 +0200
From:      Dejan Lesjak <dejan.lesjak@ijs.si>
To:        freebsd-x11@freebsd.org
Subject:   Proposal for bsd.port.mk change to allow XFree86/XOrg coexistance in ports
Message-ID:  <200407012307.02733.dejan.lesjak@ijs.si>

next in thread | raw e-mail | index | archive | help

--Boundary-00=_2zH5AKGWh2obYjC
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

I have been playing a bit with this and it is more of an idea to provoke 
comments and suggestions. Changing bsd.port.mk appears only partial solution 
regarding dependancies on X system ports. Thus I propose making changes to 
bsd.port.mk in general direction of attached patch (or in case attachment 
fails to come through list, here: 
http://www.ijs.si/software/stuff/freebsd/portmk_4.diff ).

This makes X ports of either X11 implementation variables that can be defined 
somewhat like this:

BUILD_DEPENDS=  mkfontdir:${X_CLIENTS_PORT}

It makes possible to define (in eg. make.conf):
XWINDOW_SYSTEM= XOrg
and all the ports that use aforementioned variables will have correct 
dependencies.
The patch also takes care for ports that depend on X implicitly by having 
USE_XLIB defined and chooses the right imake for ports that use USE_IMAKE.
The next step would be changing ports that explicitly depend on XFree ports to 
use provided variables.

So; comments? suggestions?


Dejan

--Boundary-00=_2zH5AKGWh2obYjC--



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