On Tue, 12 Oct 2010 16:42:43 -0400, Ebrahim Mayat wrote: > > 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 I disagree. I just rebuilt it on my 10.6/i386, and: $ dpkg -c /sw/fink/debs/fluidsynth1-dev_1.1.3-378_darwin-i386.deb | grep pkgconfig drwxr-xr-x root/admin 0 2010-10-12 17:10 ./sw/lib/fluidsynth1/lib/pkgconfig/ -rw-r--r-- root/admin 230 2010-10-12 17:10 ./sw/lib/fluidsynth1/lib/pkgconfig/fluidsynth.pc drwxr-xr-x root/admin 0 2010-10-12 17:10 ./sw/lib/pkgconfig/ lrwxr-xr-x root/admin 0 2010-10-12 17:10 ./sw/lib/pkgconfig/fluidsynth.pc -> /sw/lib/fluidsynth1/lib/pkgconfig/fluidsynth.pc However, if there were not that symlink, the key instruction for other maintainers is to set PKG_CONFIG_PATH so that pkg-config would know to look in /sw/lib/fluidsynth1/lib/pkgconfig. Setting CFLAGS/LDFLAGS would likely not be sufficient for other maintainers in that case either, since *even if* there were correct -I and -L flags, the pkg-config check for presence of the lib would fail. dan -- Daniel Macks dma...@netspace.org
------------------------------------------------------------------------------ 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