> When building ports with X.Org 7.2RC2 (xenocara), the Gtk+2 configure 
> script picks up the new x11.pc pkg-config file but fails to use it 
> correctly (it ignores CFLAGS).
> The attached patch fixes that, and doesn't change the behaviour with 
> X.Org 6.9.0 (XF4).
> ok?

Looks OK but bump PKGNAME of the package :)


> Index: patches/patch-configure
> ===================================================================
> RCS file: patches/patch-configure
> diff -N patches/patch-configure
> --- /dev/null 1 Jan 1970 00:00:00 -0000
> +++ patches/patch-configure   30 Sep 2006 16:24:45 -0000
> @@ -0,0 +1,10 @@
> +--- configure.orig   Sun Jul  2 15:57:45 2006
> ++++ configure        Sat Sep 30 18:14:28 2006
> +@@ -26838,6 +26838,7 @@
> +     have_base_x_pc=true
> +     X_PACKAGES="$X_PACKAGES x11 xext xrender"
> +     x_libs="`pkg-config --libs x11 xext xrender`"
> ++    X_CFLAGS="`pkg-config --cflags x11 xext xrender`"
> + 
> +     # Strip out any .la files that pkg-config might give us (this happens
> +     # with -uninstalled.pc files)

Reply via email to