pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: firefox 44.0 build/install fails on NetBSD-amd64



On Fri, Jan 29, 2016 at 11:33:15PM +0900, Izumi Tsutsui wrote:
> babafou@ wrote:
> 
> > Even with that, it doesn't compile (NetBSD/amd64 7.0, ultra fresh
> > pkgsrc tree):
>  :
> > /usr/pkgsrc/www/firefox/work/firefox-44.0/ipc/chromium/src/base/message_pump_libevent.cc:24:19: error: '_EVENT_SIZEOF_LONG' was not declared in this scope
> 
> It looks firefox 44.0 requires libevent >=2.0.22 while
> NetBSD 7.0 has 2.0.21-stable. (-current also has 2.0.22)
> 
> Commenting out the following line:
> 
> > #CONFIGURE_ARGS+=        --with-system-libevent=${BUILDLINK_PREFIX.libevent}
> 
> or putting libevent 2.0.22 in BUILDLINK_API_DEPENDS.libevent line:
> 
> > BUILDLINK_API_DEPENDS.libevent+=	libevent>=2.0.22
> 
> in pkgsrc/www/firefox/mozilla-common.mk works around for me.

I think the correct fix is to just comment out the checks and maybe put
an #error in the event-config.h files to make sure they are really not
used. There doesn't seem to be any real reason for forcing 2.0.22.

Joerg


Home | Main Index | Thread Index | Old Index