pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/converters/opencc Don't use GNU ld arguments on SunOS.
details: https://anonhg.NetBSD.org/pkgsrc/rev/a38f05d837f6
branches: trunk
changeset: 646685:a38f05d837f6
user: jperkin <jperkin%pkgsrc.org@localhost>
date: Fri Feb 13 17:07:52 2015 +0000
description:
Don't use GNU ld arguments on SunOS.
diffstat:
converters/opencc/distinfo | 3 ++-
converters/opencc/patches/patch-src_symbols.cmake | 22 ++++++++++++++++++++++
2 files changed, 24 insertions(+), 1 deletions(-)
diffs (37 lines):
diff -r 5fa998ea519c -r a38f05d837f6 converters/opencc/distinfo
--- a/converters/opencc/distinfo Fri Feb 13 16:58:17 2015 +0000
+++ b/converters/opencc/distinfo Fri Feb 13 17:07:52 2015 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1 2014/12/01 00:05:38 obache Exp $
+$NetBSD: distinfo,v 1.2 2015/02/13 17:07:52 jperkin Exp $
SHA1 (opencc-0.4.2.tar.gz) = 1e4216e5fe21b16836063f23d0341cb54dbce97c
RMD160 (opencc-0.4.2.tar.gz) = 9aed1e700250601d653baf2a7284b489441a08be
Size (opencc-0.4.2.tar.gz) = 725353 bytes
+SHA1 (patch-src_symbols.cmake) = e7ef6f750532e8a6cbdc9ad003d76853336e9bd7
diff -r 5fa998ea519c -r a38f05d837f6 converters/opencc/patches/patch-src_symbols.cmake
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/converters/opencc/patches/patch-src_symbols.cmake Fri Feb 13 17:07:52 2015 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-src_symbols.cmake,v 1.1 2015/02/13 17:07:52 jperkin Exp $
+
+Don't use GNU ld arguments on SunOS.
+
+--- src/symbols.cmake.orig 2013-04-11 17:23:05.000000000 +0000
++++ src/symbols.cmake
+@@ -21,7 +21,7 @@ if (APPLE)
+ set(LINK_FLAGS
+ "${LINK_FLAGS} -Wl,-exported_symbols_list,'${_symbols_list}'")
+
+-elseif (CMAKE_C_COMPILER_ID STREQUAL GNU)
++elseif (CMAKE_C_COMPILER_ID STREQUAL GNU AND NOT CPACK_SYSTEM_NAME STREQUAL SunOS)
+ # Create a version script for GNU ld.
+ set(_symbols "{ global: ${OPENCC_SYMBOLS}; local: *; };")
+ set(_version_script "${CMAKE_CURRENT_BINARY_DIR}/version.script")
+@@ -37,4 +37,4 @@ set_target_properties(
+ PROPERTIES
+ LINK_FLAGS
+ "${LINK_FLAGS}"
+-)
+\ No newline at end of file
++)
Home |
Main Index |
Thread Index |
Old Index