make failed for editors/libreoffice SOLVED

Hiroto Kagotani hiroto.kagotani at gmail.com
Wed Jun 6 06:58:01 UTC 2012


Hi

2012/6/6 Sergio de Almeida Lenzi <lenzi.sergio at gmail.com>:
> You MUST use the boost that comes with libreoffice,
> but somehow the makefiles searches /usr/local/include/*

Thank you for pointing out the problem.

To make the priority of /usr/local/include lower than those from libreoffice,
remove CPPFLAGS and LDFLAGS lines from Makefile,
and instead, add a line:
CONFIGURE_ARGS+=        CPPFLAGS=-I${LOCALBASE}/include
LDFLAGS=-L${LOCALBASE}/lib

This should work with boost-* installed.
-- 
Hiroto Kagotani
<hiroto.kagotani at gmail.com>


More information about the freebsd-ports mailing list