I think fluidsynth1-dev installs a .pc file in /sw/lib/pkgconfig (the
standard place for these files) and that file lists the correct
/sw/lib/fluidsynth1/{include,lib} paths. Assuming (ha!) other packages
use pkg-config to figure out what flags to use, they will automatically
get the correct (special ones for fluidsynth1) ones without needing
explicit CFLAGS, LDFLAGS, or others. Obviously some packages are
probably dumb and don't use correct pkg-config detection, or need other
magic because they do silly things with the data.

dan

Daniel

Not exactly, the prefix is %p/lib/%N.

$ dpkg -L fluidsynth1-dev
/.
/sw
/sw/lib
/sw/lib/fluidsynth1
/sw/lib/fluidsynth1/include
/sw/lib/fluidsynth1/include/fluidsynth
/sw/lib/fluidsynth1/include/fluidsynth/audio.h
/sw/lib/fluidsynth1/include/fluidsynth/event.h
/sw/lib/fluidsynth1/include/fluidsynth/gen.h
/sw/lib/fluidsynth1/include/fluidsynth/log.h
/sw/lib/fluidsynth1/include/fluidsynth/midi.h
/sw/lib/fluidsynth1/include/fluidsynth/misc.h
/sw/lib/fluidsynth1/include/fluidsynth/mod.h
/sw/lib/fluidsynth1/include/fluidsynth/ramsfont.h
/sw/lib/fluidsynth1/include/fluidsynth/seq.h
/sw/lib/fluidsynth1/include/fluidsynth/seqbind.h
/sw/lib/fluidsynth1/include/fluidsynth/settings.h
/sw/lib/fluidsynth1/include/fluidsynth/sfont.h
/sw/lib/fluidsynth1/include/fluidsynth/shell.h
/sw/lib/fluidsynth1/include/fluidsynth/synth.h
/sw/lib/fluidsynth1/include/fluidsynth/types.h
/sw/lib/fluidsynth1/include/fluidsynth/version.h
/sw/lib/fluidsynth1/include/fluidsynth/voice.h
/sw/lib/fluidsynth1/include/fluidsynth.h
/sw/lib/fluidsynth1/lib
/sw/lib/fluidsynth1/lib/pkgconfig
/sw/lib/fluidsynth1/lib/pkgconfig/fluidsynth.pc
/sw/share
/sw/share/doc
/sw/share/doc/fluidsynth1-dev
/sw/share/doc/fluidsynth1-dev/COPYING
/sw/share/doc/fluidsynth1-dev/README
/sw/lib/fluidsynth1/lib/libfluidsynth.dylib

$ more /sw/lib/fluidsynth1/lib/pkgconfig/fluidsynth.pc
prefix=/sw/lib/fluidsynth1
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include

Name: FluidSynth
Description: Software SoundFont synth
Version: 1.1.3
Libs: -L${libdir} -lfluidsynth
Cflags: -I${includedir}

Ebrahim

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to