pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/47388
The following reply was made to PR pkg/47388; it has been noted by GNATS.
From: "OBATA Akio" <obache%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: pkg/47388
Date: Mon, 08 Apr 2013 10:20:25 +0900
On Mon, 08 Apr 2013 01:45:03 +0900, Thomas Klausner <wiz%netbsd.org@localhost>
wrote:
> +LDFLAGS+= -liconv
> This looks wrong.
> Why is it needed unconditionally, and for all objects that are linked?
> In particular, it seems to work fine without PREFER_PKGSRC.
or following?
LDFLAGS+= ${BUILDLINK_LDADD.iconv}
> I also don't understand the explanation: "The configure of cups checks
> the existence of both iconv.h and iconv_open(3) which libc.a has for
> POSIX. The configure check is wrong. In fact cups needs GNU libiconv.
> Cups tries to link libiconv_open() and the compilation failed."
> If the configure check is wrong, please fix that instead.
Configure checks are
1. exist iconv.h?
2. exist iconv_open require -liconv?
step 2 must be done with iconv.h because iconv.h from GNU libiconv
rename iconv_open with libiconv_open with macros, but not.
darwin-iconv hack in devel/glib2/hacks.mk may the hint to resolve
this issue.
--
OBATA Akio / obache%NetBSD.org@localhost
Home |
Main Index |
Thread Index |
Old Index