Proposal for bsd.port.mk change to allow XFree86/XOrg coexistance in ports

Dejan Lesjak dejan.lesjak at ijs.si
Thu Jul 1 14:08:10 PDT 2004


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


More information about the freebsd-x11 mailing list