Subject: Re: buildlink problem? (libiconv.la: No such file or directory)
To: Stephen Degler <stephen@degler.net>
From: Sebastian P. <sebastian-p@gmx.net>
List: tech-pkg
Date: 06/29/2003 13:01:35
On Sunday 29 June 2003 01:44, you wrote:
> :|Hmm,
> :|
> :|I didn't see the Linux part, please excuse my lack of reading.  Your
> :| problem is still probably that /usr/include/iconv.h exists and you have


yes, you're right, /usr/include/iconv.h exists, but there is no 
/usr/lib/libiconv.*. to catch up this case i've changed the libiconv 
buildlink2.mk file to check for /usr/include/iconv.h _and_ 
/usr/lib/libiconv.so which works fine for me then.

--- buildlink2.mk       2003-06-29 12:57:58.000000000 +0200
+++ buildlink2.mk_new   2003-06-29 12:51:10.000000000 +0200
@@ -12,7 +12,7 @@
 _NEED_ICONV=           YES
 _BLNK_LIBICONV_FOUND=  NO
 .else
-.  if exists(/usr/include/iconv.h)
+.  if exists(/usr/include/iconv.h) && exists(/usr/lib/libiconv.so)
 _NEED_ICONV=           NO
 _BLNK_LIBICONV_LIST!=  ${ECHO} /usr/lib/libiconv.*
 .    if ${_BLNK_LIBICONV_LIST} != "/usr/lib/libiconv.*"


> :| my problem #2, with USE_GNU_ICONV not getting propagated.  As a
> :| workaround I defined USE_GNU_ICONV=yes in
> :| /usr/pkgsrc/devel/glib2/buildlink2.mk:

what is USE_GNU_ICONV for? my linux bos has only the pkgsrc version 
installed...

thanks
sp