rtmidi/rtmidi-2.1.1-pkgconfig.patch

23 lines
743 B
Diff

diff -up rtmidi-2.1.1/rtmidi.pc.in.orig rtmidi-2.1.1/rtmidi.pc.in
--- rtmidi-2.1.1/rtmidi.pc.in.orig 2016-02-13 19:10:12.000000000 +0100
+++ rtmidi-2.1.1/rtmidi.pc.in 2017-01-30 09:57:26.476566712 +0100
@@ -1,12 +1,12 @@
prefix=@prefix@
-exec_prefix=${prefix}
-libdir=${exec_prefix}/lib
-includedir=${prefix}/include/rtmidi
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
-Name: librtmidi
+Name: rtmidi
Description: RtMidi - a set of C++ classes that provide a common API for realtime MIDI input/output
Version: @PACKAGE_VERSION@
Requires: @req@
Libs: -L${libdir} -lrtmidi
Libs.private: -lpthread
-Cflags: -pthread -I${includedir} @CPPFLAGS@
\ Kein Zeilenumbruch am Dateiende.
+Cflags: -pthread @CPPFLAGS@