emulators/virtualbox-ose doesn't compile with libiconv

Tijl Coosemans tijl at FreeBSD.org
Fri Feb 21 18:49:03 UTC 2014


On Fri, 21 Feb 2014 13:10:56 -0500 Jung-uk Kim wrote:
> On 2014-02-21 11:42:51 -0500, Tijl Coosemans wrote:
>> On Fri, 21 Feb 2014 17:00:46 +0100 Tijl Coosemans wrote:
>>> On Mon, 10 Feb 2014 19:17:12 +0100 Tomasz Sowa wrote:
>>>> emulators/virtualbox-ose doesn't compile when
>>>> converters/libiconv is installed:
>>> 
>>> Please try the attached patch for the port Makefile.
>> 
>> Sorry, that one was incomplete.  This one should work better.
> 
> Actually, I fixed it in my tree little differently.
> 
> https://redports.org/changeset?reponame=&new=23380%40jkim%2Femulators&old=22447%40jkim%2Femulators

As long as you define LIBICONV_PLUG or replace <iconv.h> with
</usr/include/iconv.h> you're fine.  I would define LIBICONV_PLUG
only if ICONV_LIB is empty though so you always use libiconv_open
and libiconv_close etc. with libiconv.  iconv_open and iconv_close
work with libiconv too but they are also what base iconv uses so
there's a higher risk of trouble.


More information about the freebsd-emulation mailing list