From 932c320eac32f59ad2dc105f310ed84c734bbb3b Mon Sep 17 00:00:00 2001 From: Jeremy Messenger Date: Sun, 25 Feb 2007 21:46:33 +0000 Subject: [PATCH] Hack in speex.pc to add -I/usr/local/include/speex to make it more backwards compatibility. It should avoid for us to create more hacks in other ports. Discussed with: ahze --- audio/speex/Makefile | 1 + audio/speex/files/patch-speex.pc.in | 8 ++++++++ 2 files changed, 9 insertions(+) create mode 100644 audio/speex/files/patch-speex.pc.in diff --git a/audio/speex/Makefile b/audio/speex/Makefile index 7cb2596f4b87..992a80b4e868 100644 --- a/audio/speex/Makefile +++ b/audio/speex/Makefile @@ -7,6 +7,7 @@ PORTNAME= speex DISTVERSION= 1.2beta1 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= audio MASTER_SITES= http://downloads.us.xiph.org/releases/speex/ diff --git a/audio/speex/files/patch-speex.pc.in b/audio/speex/files/patch-speex.pc.in new file mode 100644 index 000000000000..49997492a751 --- /dev/null +++ b/audio/speex/files/patch-speex.pc.in @@ -0,0 +1,8 @@ +--- speex.pc.in.orig Sun Feb 25 15:42:09 2007 ++++ speex.pc.in Sun Feb 25 15:43:14 2007 +@@ -11,4 +11,4 @@ + Requires: + Conflicts: + Libs: -L${libdir} -lspeex +-Cflags: -I${includedir} ++Cflags: -I${includedir} -I${includedir}/speex