[pisa-src] Re: r1560 - in docs/porting: . osx.txt

  • From: Diego Biurrun <diego@xxxxxxxxxx>
  • To: pisa-src@xxxxxxxxxxxxx
  • Date: Mon, 16 Nov 2009 11:27:24 +0100

On Sat, Nov 07, 2009 at 01:27:46PM +0100, Tobias Heer wrote:
> 
> --- /dev/null 00:00:00 1970   (empty, because file is newly added)
> +++ docs/porting/osx.txt      Sat Nov  7 13:27:46 2009        (r1560)
> @@ -0,0 +1,14 @@
> +
> +Notes:
> + * You need libconfig installed
> +     - sudo port install libconfig

The package is called libconfig-hr on my system.  What version of
darwinports do you have?

> + * You need to tell the buid system (configure) where your darwin port libs
> +   are
> +    - setenv CPPFLAGS="-I/opt/local/include" LDFLAGS="-L/opt/local/lib"

The quotes are unnecessary.  Besides, 'setenv' is weird and deprecated
csh syntax.  Just use the proper Bourne shell syntax:

export CPPFLAGS=-I/opt/local/include LDFLAGS=-L/opt/local/lib

or use the variables local to your configure command:

export CPPFLAGS=-I/opt/local/include LDFLAGS=-L/opt/local/lib ./configure

Diego

Other related posts: