diff options
Diffstat (limited to 'graphics/graphite2/patches/patch-src_CMakeLists.txt')
-rw-r--r-- | graphics/graphite2/patches/patch-src_CMakeLists.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/graphics/graphite2/patches/patch-src_CMakeLists.txt b/graphics/graphite2/patches/patch-src_CMakeLists.txt index 5c90a5e77e5..1ce6df21856 100644 --- a/graphics/graphite2/patches/patch-src_CMakeLists.txt +++ b/graphics/graphite2/patches/patch-src_CMakeLists.txt @@ -1,4 +1,4 @@ -$NetBSD: patch-src_CMakeLists.txt,v 1.3 2016/01/26 13:56:23 wiz Exp $ +$NetBSD: patch-src_CMakeLists.txt,v 1.4 2016/02/07 01:05:11 ryoon Exp $ Don't pass -nodefaultlibs to compiler or the build fails for missing symbols on PowerPC and possibly other platforms. I can't see any @@ -18,12 +18,12 @@ http://sourceforge.net/p/silgraphite/bugs/56/ LINKER_LANGUAGE C) if (CMAKE_COMPILER_IS_GNUCXX) add_definitions(-Wdouble-promotion) -@@ -126,23 +126,19 @@ if (${CMAKE_SYSTEM_NAME} STREQUAL "Linu +@@ -126,23 +126,17 @@ if (${CMAKE_SYSTEM_NAME} STREQUAL "Linu else (GRAPHITE2_ASAN) target_link_libraries(graphite2 c gcc) endif (GRAPHITE2_ASAN) - include(Graphite) - nolib_test(stdc++ $<TARGET_SONAME_FILE:graphite2>) +- nolib_test(stdc++ $<TARGET_SONAME_FILE:graphite2>) endif (${CMAKE_CXX_COMPILER} MATCHES ".*mingw.*") set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "") - CREATE_LIBTOOL_FILE(graphite2 "/lib${LIB_SUFFIX}") @@ -37,7 +37,7 @@ http://sourceforge.net/p/silgraphite/bugs/56/ LINKER_LANGUAGE C) target_link_libraries(graphite2 c) - include(Graphite) - nolib_test(stdc++ $<TARGET_SONAME_FILE:graphite2>) +- nolib_test(stdc++ $<TARGET_SONAME_FILE:graphite2>) set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "") - CREATE_LIBTOOL_FILE(graphite2 "/lib${LIB_SUFFIX}") endif (${CMAKE_SYSTEM_NAME} STREQUAL "Darwin") |