diff options
author | Andre Barboza <bmg.andre@gmail.com> | 2017-02-23 08:50:51 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-02-24 04:16:48 +0700 |
commit | 03336553423f9c1855865481e66477bc9bc0aceb (patch) | |
tree | 82176b6686a0dab50f64aa0d1f76efce662b1e0b /libraries/libgraphqlparser/libgraphqlparser.patch | |
parent | cd5d83a59393e11ffd0486112712ade5a1eba583 (diff) |
libraries/libgraphqlparser: Added (A GraphQL query parser).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libgraphqlparser/libgraphqlparser.patch')
-rw-r--r-- | libraries/libgraphqlparser/libgraphqlparser.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/libraries/libgraphqlparser/libgraphqlparser.patch b/libraries/libgraphqlparser/libgraphqlparser.patch new file mode 100644 index 0000000000000..5baaca4518068 --- /dev/null +++ b/libraries/libgraphqlparser/libgraphqlparser.patch @@ -0,0 +1,32 @@ +diff -ur libgraphqlparser-0.6.0.old/CMakeLists.txt libgraphqlparser-0.6.0/CMakeLists.txt +--- libgraphqlparser-0.6.0.old/CMakeLists.txt 2016-12-22 18:39:29.000000000 -0200 ++++ libgraphqlparser-0.6.0/CMakeLists.txt 2017-02-21 22:51:26.509154832 -0300 +@@ -99,7 +99,7 @@ + syntaxdefs.h + DESTINATION include/graphqlparser) + INSTALL(TARGETS graphqlparser +- LIBRARY DESTINATION lib) ++ LIBRARY DESTINATION lib${LIB_SUFFIX}) + + if (UNIX) + # generate pkgconfig file +@@ -108,7 +108,7 @@ + # generate .pc and install + configure_file("libgraphqlparser.pc.in" "libgraphqlparser.pc" @ONLY) + install(FILES "${CMAKE_CURRENT_BINARY_DIR}/libgraphqlparser.pc" +- DESTINATION "${CMAKE_INSTALL_PREFIX}/lib/pkgconfig") ++ DESTINATION "${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}/pkgconfig") + endif() + endif() + +diff -ur libgraphqlparser-0.6.0.old/libgraphqlparser.pc.in libgraphqlparser-0.6.0/libgraphqlparser.pc.in +--- libgraphqlparser-0.6.0.old/libgraphqlparser.pc.in 2017-02-21 23:00:17.928182153 -0300 ++++ libgraphqlparser-0.6.0/libgraphqlparser.pc.in 2016-12-22 18:39:29.000000000 -0200 +@@ -1,6 +1,6 @@ + prefix=@CMAKE_INSTALL_PREFIX@ + exec_prefix=${prefix} +-libdir=${exec_prefix}/lib ++libdir=${exec_prefix}/lib@LIB_SUFFIX@ + includedir=${prefix}/include/graphqlparser + + Name: @CMAKE_PROJECT_NAME@ |