Files
pkgsrc-ng/inputmethod/mozc-server/patches/patch-base_base.gyp
2014-11-05 12:41:07 +01:00

43 lines
1.5 KiB
Python

$NetBSD: patch-base_base.gyp,v 1.2 2013/07/20 04:34:53 ryoon Exp $
--- base/base.gyp.orig 2013-07-17 02:38:04.000000000 +0000
+++ base/base.gyp
@@ -86,7 +86,7 @@
# shared among *host* binaries and *target* binaries. This means that
# you should implement *host* binaries by using limited libraries
# which are also available on NDK.
- ['OS=="linux" and target_platform!="Android" and '
+ ['OS=="netbsd" or (OS=="linux" and target_platform!="Android") and '
'not (target_platform=="NaCl" and _toolset=="target")', {
'defines': [
'HAVE_LIBRT=1',
@@ -287,23 +287,23 @@
],
},
}],
- ['OS=="linux" and target_platform!="Android" and '
+ ['OS=="netbsd" or (OS=="linux" and target_platform!="Android") and '
'not (target_platform=="NaCl" and _toolset=="target")', {
'cflags': [
- '<!@(<(pkg_config_command) --cflags-only-other openssl)',
+ '@OPENSSL_CFLAGS@',
],
'defines': [
'HAVE_OPENSSL=1',
],
'include_dirs': [
- '<!@(<(pkg_config_command) --cflags-only-I openssl)',
+ '@OPENSSL_INC@',
],
'link_settings': {
'ldflags': [
- '<!@(<(pkg_config_command) --libs-only-L openssl)',
+ '@OPENSSL_LDFLAGS@',
],
'libraries': [
- '<!@(<(pkg_config_command) --libs-only-l openssl)',
+ '@OPENSSL_LIBS@',
],
},
}],