Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Oct 2013 16:38:35 +0400
From:      Boris Samorodov <bsam@passap.ru>
To:        =?UTF-8?B?TWFya28gQ3VwYcSH?= <marko.cupac@mimar.rs>,  freebsd-ports@freebsd.org, garga@FreeBSD.org
Subject:   Re: libiconv problem on dansguardian-(devel)
Message-ID:  <525FDA4B.4060509@passap.ru>
In-Reply-To: <20131017131934.09d016cf4abfe5c6926e40d7@mimar.rs>
References:  <20131017131934.09d016cf4abfe5c6926e40d7@mimar.rs>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------080701020903060901020501
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

17.10.2013 15:19, Marko Cupać пишет:

> I cannot compile either of the two with NTLM option enabled:
> www/dansguardian
> www/dansguardian-devel
> 
> This is on 9.2-RELEASE i386.
> 
> Both fail with the same error message:
> 
> ---- error message ----
> checking for NTLM support... yes
> checking for iconv... no
> no
> checking for iconv in -liconv... no
> no
> checking for libiconv in -liconv... no
> configure: error: no native or standard library iconv function found! (needed by NTLM plugin - try again with "--with-libiconv"?)
> ===>  Script "configure" failed unexpectedly.
> ---- error message ----
> 
> Any idea how to fix this?

I think that the right way is to include iconv to Uses unconditionally
(keeping in mind that --with-libiconv=${LOCALBASE} also was used
unconditionally before switching to Uses/iconv.mk). The same for
www/dansguardian-devel.

The proposed patch attached.

-- 
WBR, Boris Samorodov (bsam)
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve

--------------080701020903060901020501
Content-Type: text/plain; charset=UTF-8;
 name="dansguardian-iconv.diff.txt"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="dansguardian-iconv.diff.txt"

SW5kZXg6IE1ha2VmaWxlCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIE1ha2VmaWxlCShyZXZpc2lvbiAz
MzA2MzApCisrKyBNYWtlZmlsZQkod29ya2luZyBjb3B5KQpAQCAtMTQsNyArMTQsNyBAQAog
TElCX0RFUEVORFMrPQlsaWJwY3JlLnNvOiR7UE9SVFNESVJ9L2RldmVsL3BjcmUKIAogVVNF
X1JDX1NVQlI9CWRhbnNndWFyZGlhbgotVVNFUz0JCXBrZ2NvbmZpZworVVNFUz0JCXBrZ2Nv
bmZpZyBpY29udgogCiBDT05GTElDVFM9CWRhbnNndWFyZGlhbi0yLjEyLioKIExBVEVTVF9M
SU5LPQlkYW5zZ3VhcmRpYW4KQEAgLTk3LDggKzk3LDcgQEAKIC5lbmRpZgogCiAuaWYgJHtQ
T1JUX09QVElPTlM6TU5UTE19Ci1DT05GSUdVUkVfQVJHUys9CS0tZW5hYmxlLW50bG0gJHtJ
Q09OVl9DT05GSUdVUkVfQkFTRX0KLVVTRVMrPQkJCWljb252CitDT05GSUdVUkVfQVJHUys9
CS0tZW5hYmxlLW50bG0KIFBMSVNUX1NVQis9CQlOVExNQ09ORj0iIgogLmVsc2UKIFBMSVNU
X1NVQis9CQlOVExNQ09ORj0iQGNvbW1lbnQgIgo=
--------------080701020903060901020501--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?525FDA4B.4060509>