Subject: pkg/29012: Re: pkg/29012: graphics/inkspace fails to build due to not finding
To: None <reed@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: pkgsrc-bugs
Date: 01/19/2005 19:36:01
The following reply was made to PR pkg/29012; it has been noted by GNATS.

From: "Jeremy C. Reed" <reed@reedmedia.net>
To: Douglas Brebner <douglas@fang.demon.co.uk>
Cc: gnats-bugs@netbsd.org
Subject: Re: pkg/29012: graphics/inkspace fails to build due to not finding
 boehm-gc
Date: Wed, 19 Jan 2005 11:35:04 -0800 (PST)

 > conftest.cc -lgc -lpthread -ldl  -lintl >&5 ld: cannot find -ldl
 
 I see revision 1.11 of inkscape/inkscape/configure.ac: "When adding -lgc
 to LIBS, also add its dependencies -lpthread -ldl."
 
 That appears to be wrong. I will contact inkscape developers to improve
 this.
 
 Maybe you can try this patch for now:
 
 --- configure.orig	2004-11-28 23:21:53.000000000 -0800
 +++ configure
 @@ -21463,7 +21463,7 @@ if test "${ac_cv_lib_gc_GC_malloc+set}"
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    ac_check_lib_save_LIBS=$LIBS
 -LIBS="-lgc -lpthread -ldl $LIBS"
 +LIBS="-lgc -lpthread $LIBS"
  cat >conftest.$ac_ext <<_ACEOF
  /* confdefs.h.  */
  _ACEOF
 
 
 I am unable to test.
 
 (I have also called it inkspace.)
 
  Jeremy C. Reed
 
  	  	 	 open source, Unix, *BSD, Linux training
 	  	 	 http://www.pugetsoundtechnology.com/