Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Jun 2012 15:57:59 +0900
From:      Hiroto Kagotani <hiroto.kagotani@gmail.com>
To:        Sergio de Almeida Lenzi <lenzi.sergio@gmail.com>
Cc:        rotkap@gmx.de, freebsd-ports@freebsd.org
Subject:   Re: make failed for editors/libreoffice SOLVED
Message-ID:  <CAC_W2oeBoLukXvbTAumn0_zcftxPWLu=OqAioBtgTNVhisL8=A@mail.gmail.com>
In-Reply-To: <1338954676.88545.12.camel@z6000.lenzicasa>
References:  <4FC73BBB.9090004@eskk.nu> <g5c0a9-5s1.ln1@news.hansenet.de> <4FCD9594.1090103@tuxfamily.org> <20120605061855.GO73254@ithaqua.etoilebsd.net> <20120605081002.GA91333@megatron.madpilot.net> <20120605084644.GQ73254@ithaqua.etoilebsd.net> <20430.7266.862321.370285@jerusalem.litteratus.org> <20120605154905.GL71005@ithaqua.etoilebsd.net> <9ks1a9-8a7.ln1@news.hansenet.de> <1338954676.88545.12.camel@z6000.lenzicasa>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi

2012/6/6 Sergio de Almeida Lenzi <lenzi.sergio@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@gmail.com>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAC_W2oeBoLukXvbTAumn0_zcftxPWLu=OqAioBtgTNVhisL8=A>