Jeremy Messenger
2007-Feb-27 05:30 UTC
[Speex-dev] [PATCH] Tweak a bit in speex.pc.in for backward compatibility.
Hello folks, I had to make a bit change in speex.pc in FreeBSD ports to make it more backward compatibility with the other ports (applications). Before: =================================# pkg-config --cflags speex -I/usr/local/include ================================= After: =================================# pkg-config --cflags speex -I/usr/local/include -I/usr/local/include/speex ================================= I am keeping the '-I/usr/local/include' since I don't know if anyone add #include <speex/speex*.h> in their source and the second one is for some applications that hasn't catch up with unstable version. Patch: http://people.freebsd.org/~mezz/diff/patch-speex.pc.in Cheers, Mezz -- mezz7@cox.net - mezz@FreeBSD.org FreeBSD GNOME Team - FreeBSD Multimedia Hat (ports, not src) http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org http://wiki.freebsd.org/multimedia - multimedia@FreeBSD.org
Jean-Marc Valin
2007-Mar-02 01:30 UTC
[Speex-dev] [PATCH] Tweak a bit in speex.pc.in for backward compatibility.
Actually, I don't want to encourage people to just #include <speex.h> so that's why I don't put $prefix/include/speex in the include path. Distributions are of course free to do it, but I don't want to encourage that. Note that the last 1.0.x releases actually support the new include location, so there shouldn't be any problem switching between 1.0.x and 1.1.x. Jean-Marc Jeremy Messenger a ?crit :> Hello folks, > > I had to make a bit change in speex.pc in FreeBSD ports to make it more > backward compatibility with the other ports (applications). > > Before: > =================================> # pkg-config --cflags speex > -I/usr/local/include > =================================> > After: > =================================> # pkg-config --cflags speex > -I/usr/local/include -I/usr/local/include/speex > =================================> > I am keeping the '-I/usr/local/include' since I don't know if anyone add > #include <speex/speex*.h> in their source and the second one is for some > applications that hasn't catch up with unstable version. > > Patch: http://people.freebsd.org/~mezz/diff/patch-speex.pc.in > > Cheers, > Mezz > > > --mezz7@cox.net - mezz@FreeBSD.org > FreeBSD GNOME Team - FreeBSD Multimedia Hat (ports, not src) > http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org > http://wiki.freebsd.org/multimedia - multimedia@FreeBSD.org > _______________________________________________ > Speex-dev mailing list > Speex-dev@xiph.org > http://lists.xiph.org/mailman/listinfo/speex-dev > >