Subject: Re: gnome-mag/2007Q3/NetBSD/i386
To: Jeremy C. Reed <reed@reedmedia.net>
From: Phil Nelson <phil@cs.wwu.edu>
List: pkgsrc-users
Date: 10/26/2007 09:22:02
--nextPart2044002.LsTgo5YLDB
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
On Friday 26 October 2007 9:11:42 am you wrote:
> On Fri, 26 Oct 2007, Phil Nelson wrote:
>=20
> > > Another alternative is to define XEXTENSIONS_CFLAGS in CONFIGURE_ENV =
to=20
> > > bypass the pkgconfig c
> >=20
> > Ok, I'm dense. How would one do this?
> >=20
> > And should this be done in the Makefile with some sort of a "if X11_TYP=
E=20
> > is native" ...
>=20
> I didn't test. And maybe Joerg has a better way.
>=20
> Here is an untested idea for pkgsrc/x11/gnome-mag/Makefile
>=20
> --- Makefile 6 Oct 2007 00:20:40 -0000 1.42
> +++ Makefile 26 Oct 2007 16:11:07 -0000
> @@ -21,6 +21,15 @@
> =20
> BUILDLINK_DEPMETHOD.libXt?=3D build
> =20
> +.include "../../mk/bsd.fast.prefs.mk"
> +
> +.if ${X11_TYPE} !=3D "modular"
> +# Do not use pkg-config since some .pc dependencies are missing
> +CONFIGURE_ENV+=3D XEXTENSIONS_CFLAGS=3D"-I${PREFIX}/include"
> +# maybe
> +# CONFIGURE_ENV+=3D XEXTENSIONS_CFLAGS=3D"${BUILDLINK_CFLAGS.libXda=
mage}
> +.endif
> +
> .include "../../devel/at-spi/buildlink3.mk"
> .include "../../devel/gettext-lib/buildlink3.mk"
> .include "../../devel/glib2/buildlink3.mk"
>=20
>=20
> Jeremy C. Reed
No, this didn't work. I still get:
=2E...
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
=2E...
=2D-Phil
=2D-=20
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
--nextPart2044002.LsTgo5YLDB
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (NetBSD)
iD8DBQBHIhQqzbodwsP3RI0RAh3oAKCpkS7AxbZazJczXfC1YcoHSaf6gACgvmER
h4BvrY5cP5MJT3FOQoiUYwg=
=m/5m
-----END PGP SIGNATURE-----
--nextPart2044002.LsTgo5YLDB--