On 24.10.12 19:37, Peter Stuge wrote:
> Tobias Engel wrote:
>>>> export LDFLAGS='-L/opt/local/lib'
>>>> export CPPFLAGS='-I/opt/local/include'
>>>
>>> What requires these flags to be set manually?
>>
>> These are the locations where software gets installed by MacPorts
> 
> Which software, in this case? The purpose of pkgconfig is to avoid
> dealing with these flags manually.

libdbi, for example. There is no .pc file installed with the libdbi port:

$ port contents libdbi
Port libdbi contains:
  /opt/local/include/dbi/dbd.h
  /opt/local/include/dbi/dbi-dev.h
  /opt/local/include/dbi/dbi.h
  /opt/local/lib/libdbi.1.dylib
  /opt/local/lib/libdbi.a
  /opt/local/lib/libdbi.dylib
  /opt/local/lib/libdbi.la

-Tobias


Reply via email to