Subject: Re: CVS commit: pkgsrc
To: None <mcmahill@mtl.mit.edu>
From: Nick Hudson <skrll@netbsd.org>
List: pkgsrc-changes
Date: 05/09/2001 23:04:23
mcmahill@mtl.mit.edu wrote:
>
> On Wed, 9 May 2001, Nick Hudson wrote:
>
> > > > > > I think the reason is that different versions of X may come with shared
> > > > > > libary versions of Xdpms. The two dynamic objects that you have add will
> > > > > > only get built when a shared version exists.
> > > > > >
> > > > > > My stock XFree 3.3.6 system doesn't have a shared Xdpms.
> > > > >
> > > > > yikes! My alpha which has a totally vanilla NetBSD-1.5 install produced
> > > > > those files....
> > > > >
> > > > > So whats the right fix here?
> > > > >
> > > > > -Dan
> > > > >
> > > > >
> > > >
> > > > Use PLIST_SRC, and add the dynamic objects where necessary.
> > >
> > > how do i know when its neccessary? Nick?
> >
> > The best way I can think of ATM is do a simple test in Makefile for the
> > files existance.
>
> so there would be a post-build: target which adds to PLIST?
>
> or would it be something like
>
> .if exists(${X11BSE}/lib/libwhateveritis.so)
> # the shared objs will be built
> PLIST_SRC= ${FILES_DIR}/PLIST ${FILES_DIR}/PLIST.so
> .endif
If/When its get enabled for a.out this is unlikely to work. For now it
should do.
Nick
--
aka skrll@netbsd.org, skrll@excite.co.uk