aboutsummaryrefslogtreecommitdiff
path: root/ports/graphite2/fix-static-build.patch
diff options
context:
space:
mode:
authorAlexander Karatarakis <alex@karatarakis.com>2018-02-27 18:47:24 -0800
committerGitHub <noreply@github.com>2018-02-27 18:47:24 -0800
commit865f05f859c0df7fc283ef2eaf545c8d23b5290b (patch)
tree42eeb7a436fe21484ddcb889a92ea367d94f5e90 /ports/graphite2/fix-static-build.patch
parentba3f552b67a76bc62ef4aecdee778ac47abf330c (diff)
parentf49a90c0f961e3866baea80174b1c605404e637f (diff)
downloadvcpkg-865f05f859c0df7fc283ef2eaf545c8d23b5290b.tar.gz
vcpkg-865f05f859c0df7fc283ef2eaf545c8d23b5290b.zip
Merge pull request #2884 from cmpute/graphite
Add package graphite2
Diffstat (limited to 'ports/graphite2/fix-static-build.patch')
-rw-r--r--ports/graphite2/fix-static-build.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/ports/graphite2/fix-static-build.patch b/ports/graphite2/fix-static-build.patch
new file mode 100644
index 000000000..7a51f43cf
--- /dev/null
+++ b/ports/graphite2/fix-static-build.patch
@@ -0,0 +1,21 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 3466c5f..d88b3bc 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -63,11 +63,11 @@ endif (GRAPHITE2_VM_TYPE STREQUAL "direct" AND NOT (CMAKE_COMPILER_IS_GNUCXX OR
+ message(STATUS "Using vm machine type: ${GRAPHITE2_VM_TYPE}")
+
+ add_subdirectory(src)
+-add_subdirectory(tests)
+-add_subdirectory(doc)
+-if (NOT (GRAPHITE2_NSEGCACHE OR GRAPHITE2_NFILEFACE))
+- add_subdirectory(gr2fonttest)
+-endif (NOT (GRAPHITE2_NSEGCACHE OR GRAPHITE2_NFILEFACE))
++# add_subdirectory(tests)
++# add_subdirectory(doc)
++# if (NOT (GRAPHITE2_NSEGCACHE OR GRAPHITE2_NFILEFACE))
++# add_subdirectory(gr2fonttest)
++# endif (NOT (GRAPHITE2_NSEGCACHE OR GRAPHITE2_NFILEFACE))
+
+ set(version 3.0.1)
+ set(libdir ${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX})