[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: pkg and include/libraries
From: |
LUK ShunTim |
Subject: |
Re: pkg and include/libraries |
Date: |
Thu, 26 Mar 2009 13:53:37 +0800 |
User-agent: |
Mozilla-Thunderbird 2.0.0.19 (X11/20090103) |
Claudio Belotti wrote:
> hi all,
> I'd like to install octcdf in a mac, netcdf library and includes are
> already install via ports, but pkg doesn't find them as they are on an
> unconventional location.
>
> How do I pass to makeoct where headers file and libraries are?
>
> thanks
> Claudio
Hi Claudio,
See if something like
setenv("CPPFLAGS", "-I/path/to/your/headers");
works for you.
Regards,
ST
--