summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/libprojectm/files/libprojectm-2.0.1-pcfix.patch')
-rw-r--r--media-libs/libprojectm/files/libprojectm-2.0.1-pcfix.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/media-libs/libprojectm/files/libprojectm-2.0.1-pcfix.patch b/media-libs/libprojectm/files/libprojectm-2.0.1-pcfix.patch
new file mode 100644
index 000000000000..c871b78910a1
--- /dev/null
+++ b/media-libs/libprojectm/files/libprojectm-2.0.1-pcfix.patch
@@ -0,0 +1,12 @@
+Index: projectM-2.0.1-Source/libprojectM.pc.in
+===================================================================
+--- projectM-2.0.1-Source.orig/libprojectM.pc.in
++++ projectM-2.0.1-Source/libprojectM.pc.in
+@@ -1,6 +1,6 @@
+ prefix=@CMAKE_INSTALL_PREFIX@
+ exec_prefix=@CMAKE_INSTALL_PREFIX@
+-libdir=@LIB_INSTALL_DIR@
++libdir=${exec_prefix}/lib@LIB_SUFFIX@
+ includedir=@CMAKE_INSTALL_PREFIX@/include
+ pkgdatadir=@CMAKE_INSTALL_PREFIX@/@RESOURCE_PREFIX@
+ sysconfdir=@CMAKE_INSTALL_PREFIX@/@RESOURCE_PREFIX@