diff options
author | nathanw <nathanw@pkgsrc.org> | 2003-03-04 19:23:17 +0000 |
---|---|---|
committer | nathanw <nathanw@pkgsrc.org> | 2003-03-04 19:23:17 +0000 |
commit | f89dcbad535c2f5b9d0e54c5cc290bd4f4bff4e1 (patch) | |
tree | bccab5b163bd8662a2dabcae4f8192b4bd90c168 /devel/glib | |
parent | 39e3b4319330d9bab0340de8acc0900d305ebf60 (diff) | |
download | pkgsrc-f89dcbad535c2f5b9d0e54c5cc290bd4f4bff4e1.tar.gz |
Pre-set the value of the configure test glib_cv_rtldglobal_broken to
avoid running the test. The test, which calls dlopen("libpthread.so"),
fails on NetBSD for reasons unrelated to what it is trying to detect,
glib concludes that RTLD_GLOBAL is broken, and gmodule doesn't work.
This method of fooling configure suggested by Ron Roskens on tech-pkg.
Addresses PR pkg/20050 ("galeon fails to load at run-time").
Diffstat (limited to 'devel/glib')
-rw-r--r-- | devel/glib/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/devel/glib/Makefile b/devel/glib/Makefile index 9991fc5b52f..18ae185a07b 100644 --- a/devel/glib/Makefile +++ b/devel/glib/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.52 2002/12/19 13:07:42 grant Exp $ +# $NetBSD: Makefile,v 1.53 2003/03/04 19:23:17 nathanw Exp $ # FreeBSD Id: Makefile,v 1.2 1998/08/06 14:55:12 vanilla Exp # @@ -24,6 +24,10 @@ PKGCONFIG_OVERRIDE+= ${WRKSRC}/gmodule.pc.in PKGCONFIG_OVERRIDE+= ${WRKSRC}/gthread.pc.in CONFIGURE_ARGS+= --includedir=${PREFIX}/include/glib +# Force the result of this configure test, bescause the testing technique +# breaks with NetBSD's native libpthread.so. +CONFIGURE_ENV+= glib_cv_rtldglobal_broken=no + INFO_FILES= glib.info TEXINFO_OVERRIDE= YES |