summarylogtreecommitdiffstats
path: root/002-graphite2-1.2.1-pkgconfig.patch
blob: 27eae13a2cbfa3b4c0de7ed98650d3bbec179502 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- graphite2-1.2.1/graphite2.pc.in	2013-02-27 20:32:04.000000000 +0100
+++ graphite2-1.2.1/graphite2.pc.in	2013-05-09 22:52:58.990959979 +0200
@@ -1,3 +1,7 @@
+prefix=${prefix}
+exec_prefix=${prefix}
+libdir=${prefix}/lib
+includedir=${prefix}/include
 
 Name: Graphite2
 Description: Font rendering engine for Complex Scripts
--- graphite2-1.2.1/CMakeLists.txt	2013-02-27 20:32:04.000000000 +0100
+++ graphite2-1.2.1/CMakeLists.txt	2013-06-06 21:11:28.241391998 +0200
@@ -64,6 +64,7 @@
 endif (NOT (GRAPHITE2_NSEGCACHE OR GRAPHITE2_NFILEFACE))
 
 set(version 3.0.1)
+set(prefix ${CMAKE_INSTALL_PREFIX})
 set(libdir ${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX})
 set(includedir ${CMAKE_INSTALL_PREFIX}/include)