summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2016-09-30 22:44:37 +0000
committerwiz <wiz@pkgsrc.org>2016-09-30 22:44:37 +0000
commit109cdb1ca253fbb1ad583788209a1647fcebafa9 (patch)
tree75872f30c87703acf595f8aee7e639f275aa68a3
parent62180c334abb39cc50e72f397cdc5266f356d082 (diff)
downloadpkgsrc-109cdb1ca253fbb1ad583788209a1647fcebafa9.tar.gz
Fix build with waf-1.9.x.
-rw-r--r--net/nanomsgxx/distinfo3
-rw-r--r--net/nanomsgxx/patches/patch-tests_wscript15
2 files changed, 17 insertions, 1 deletions
diff --git a/net/nanomsgxx/distinfo b/net/nanomsgxx/distinfo
index 1a1ef46161e..209b447ba9a 100644
--- a/net/nanomsgxx/distinfo
+++ b/net/nanomsgxx/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.2 2016/09/30 15:01:11 wiz Exp $
+$NetBSD: distinfo,v 1.3 2016/09/30 22:44:37 wiz Exp $
SHA1 (nanomsgxx-0.2.tar.gz) = aa86aa26cca89d5bcc7ec0804d4aa5610b448e44
RMD160 (nanomsgxx-0.2.tar.gz) = 265ec29fe3b397e5a22892e048ffbbde6a44508b
SHA512 (nanomsgxx-0.2.tar.gz) = 6ee011e271d3d599467c518863499cb954a28d3e53037e31f64bcb9f577db3c070002e936027c5e21e439d9e3e217fac47a96403d41ada2acdbc89de24b59a0d
Size (nanomsgxx-0.2.tar.gz) = 123780 bytes
SHA1 (patch-src_nnxx_wscript) = 30cc6a28596d8c994426c147e0cc8cb784c75a79
+SHA1 (patch-tests_wscript) = 7a9615c1b836a507b2171fbffd015961eec29d39
diff --git a/net/nanomsgxx/patches/patch-tests_wscript b/net/nanomsgxx/patches/patch-tests_wscript
new file mode 100644
index 00000000000..30239829d51
--- /dev/null
+++ b/net/nanomsgxx/patches/patch-tests_wscript
@@ -0,0 +1,15 @@
+$NetBSD: patch-tests_wscript,v 1.1 2016/09/30 22:44:38 wiz Exp $
+
+Fix build with waf-1.9.x.
+https://github.com/achille-roussel/nanomsgxx/issues/10
+
+--- tests/wscript.orig 2016-05-16 02:33:55.000000000 +0000
++++ tests/wscript
+@@ -12,6 +12,7 @@ def build(waf):
+ features = ['cxx', 'cxxprogram', 'test']
+ lib = ['nanomsg', 'nanomsgext', 'nnxx']
+ for f in waf.path.ant_glob('*.cpp'):
++ f = f.path_from(waf.path)
+ source = str(f)
+ target = str(f)[:-4]
+ conf = copy(waf.env.CXX_CONF_KWARGS)