Subject: Re: devel/glib workaround
To: Lubomir Sedlacik <salo@Xtrmntr.org>
From: David Brownlee <abs@netbsd.org>
List: tech-pkg
Date: 02/24/2003 14:38:25
On Tue, 25 Feb 2003, Lubomir Sedlacik wrote:

> On Tue, Feb 25, 2003 at 01:14:19PM -0500, Nathan J. Williams wrote:
> >
> > The patches are attached; comments requested.
>
> it's preferred to avoid dependency on auto* tools unless it's really
> necessary.  remove the check from configure instead and integrate it
> into existing patch-ad (or just make the test return needed value, e.g.
>
> --- configure.orig	2001-03-15 16:44:01.000000000 +0100
> +++ configure	2003-02-25 19:37:01.000000000 +0100
> @@ -4442,7 +4442,7 @@
>  fi
>
>  echo "$ac_t""$glib_cv_rtldglobal_broken" 1>&6
> -        if test "x$glib_cv_rtldglobal_broken" = "xyes"; then
> +        if test "xno" = "xyes"; then
>                  G_MODULE_BROKEN_RTLD_GLOBAL=1
>          else
>                  G_MODULE_BROKEN_RTLD_GLOBAL=0

	This would break pkgsrc on OSF/1 (assuming anyone has set it up
	yet), so probably not the best option.

-- 
		David/absolute          -- www.netbsd.org: No hype required --