Subject: Re: converting a package to modular xorg
To: Steven M. Bellovin <smb@cs.columbia.edu>
From: Jeremy C. Reed <reed@reedmedia.net>
List: pkgsrc-users
Date: 08/17/2007 12:10:03
On Fri, 17 Aug 2007, Steven M. Bellovin wrote:

> What is the proper way to convert a package to modular xorg?  Doing a
> pkg_comp build to convert some of my machines, I found three packages
> that won't work with it: net/pload, net/mtr, and x11/stalonesystray.
> I'm the maintainer of stalonesystray, so I can't ask someone else to
> fix it, but I don't know how...  Stalonesystray and pload both use
> x11.buildlink3.mk only, and no other X libraries.  mtr uses it and gtk
> -- not gtk2 -- which I seem to recall is deprecated.

If you can, start with running ldd (or objdump) on the binaries to see 
what libraries are needed.

Get rid of the x11.buildlink3.mk include. And include the 
x11/libX11/buildlink3.mk instead. Then add the other buildlink3.mk 
includes as you see are need to building or running.

I think if a package includes gtk, then you can remove the 
x11.buildlink3.mk include.

  Jeremy C. Reed