pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: gnome-mag/2007Q3/NetBSD/i386



On Friday 26 October 2007 9:11:42 am you wrote:
> On Fri, 26 Oct 2007, Phil Nelson wrote:
> 
> > > Another alternative is to define XEXTENSIONS_CFLAGS in CONFIGURE_ENV to 
> > > bypass the pkgconfig c
> > 
> > Ok, I'm dense.   How would one do this?
> > 
> > And should this be done in the Makefile with some sort of a "if X11_TYPE 
> > is native" ...
> 
> I didn't test. And maybe Joerg has a better way.
> 
> Here is an untested idea for pkgsrc/x11/gnome-mag/Makefile
> 
> --- Makefile    6 Oct 2007 00:20:40 -0000       1.42
> +++ Makefile    26 Oct 2007 16:11:07 -0000
> @@ -21,6 +21,15 @@
>  
>  BUILDLINK_DEPMETHOD.libXt?=    build
>  
> +.include "../../mk/bsd.fast.prefs.mk"
> +
> +.if ${X11_TYPE} != "modular"
> +# Do not use pkg-config since some .pc dependencies are missing
> +CONFIGURE_ENV+=        XEXTENSIONS_CFLAGS="-I${PREFIX}/include"
> +# maybe
> +# CONFIGURE_ENV+=      XEXTENSIONS_CFLAGS="${BUILDLINK_CFLAGS.libXdamage}
> +.endif
> +
>  .include "../../devel/at-spi/buildlink3.mk"
>  .include "../../devel/gettext-lib/buildlink3.mk"
>  .include "../../devel/glib2/buildlink3.mk"
> 
> 
>   Jeremy C. Reed

No, this didn't work.  I still get:

....
checking for IceConnectionNumber in -lICE... yes
checking pkg-config is at least version 0.9.0... yes
checking for XEXTENSIONS... gnome-config: not found
configure: error: Package requirements (xfixes xdamage) were not met:

No package 'xdamage' found
....

--Phil




-- 
Phil Nelson (phil at cs.wwu.edu) http://www.cs.wwu.edu/nelson
NetBSD: http://www.NetBSD.org  Coda: http://www.coda.cs.cmu.edu

Attachment: signature.asc
Description: This is a digitally signed message part.



Home | Main Index | Thread Index | Old Index