summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfhajny <fhajny@pkgsrc.org>2016-09-19 09:52:21 +0000
committerfhajny <fhajny@pkgsrc.org>2016-09-19 09:52:21 +0000
commitaa18c05fe654179941b4718ef8ffd26bcaaa5c15 (patch)
tree643b29a7dc33bf8c8555f544ab5a4e06e8ab1dbc
parent8b65d2aa81ea79386aca7a0a02c5e801e32adf27 (diff)
downloadpkgsrc-aa18c05fe654179941b4718ef8ffd26bcaaa5c15.tar.gz
Update textproc/yaml-cpp to 0.5.3.
This will be the last release that uses Boost; futures releases will require C++11 instead. No release notes, only bugfixes since 0.5.1. See full commit logs: https://github.com/jbeder/yaml-cpp/compare/release-0.5.1...release-0.5.2 https://github.com/jbeder/yaml-cpp/compare/release-0.5.2...release-0.5.3
-rw-r--r--textproc/yaml-cpp/Makefile10
-rw-r--r--textproc/yaml-cpp/PLIST3
-rw-r--r--textproc/yaml-cpp/distinfo11
-rw-r--r--textproc/yaml-cpp/patches/patch-test_gmock-1.7.0_configure24
4 files changed, 38 insertions, 10 deletions
diff --git a/textproc/yaml-cpp/Makefile b/textproc/yaml-cpp/Makefile
index b95f65336b9..2c5596d4e9e 100644
--- a/textproc/yaml-cpp/Makefile
+++ b/textproc/yaml-cpp/Makefile
@@ -1,15 +1,17 @@
-# $NetBSD: Makefile,v 1.2 2015/03/15 20:03:24 hiramatsu Exp $
+# $NetBSD: Makefile,v 1.3 2016/09/19 09:52:21 fhajny Exp $
#
-DISTNAME= yaml-cpp-0.5.1
+DISTNAME= yaml-cpp-0.5.3
CATEGORIES= textproc
-MASTER_SITES= http://yaml-cpp.googlecode.com/files/
+MASTER_SITES= ${MASTER_SITE_GITHUB:=jbeder/}
MAINTAINER= pkgsrc-users@NetBSD.org
-HOMEPAGE= http://code.google.com/p/yaml-cpp/
+HOMEPAGE= https://github.com/jbeder/yaml-cpp/
COMMENT= YAML parser and emitter for C++
LICENSE= mit
+GITHUB_TAG= ${DISTNAME}
+
USE_CMAKE= yes
USE_LANGUAGES= c c++
diff --git a/textproc/yaml-cpp/PLIST b/textproc/yaml-cpp/PLIST
index 53605373ca7..948f0ad103c 100644
--- a/textproc/yaml-cpp/PLIST
+++ b/textproc/yaml-cpp/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2014/11/24 11:27:52 obache Exp $
+@comment $NetBSD: PLIST,v 1.2 2016/09/19 09:52:21 fhajny Exp $
include/yaml-cpp/anchor.h
include/yaml-cpp/binary.h
include/yaml-cpp/contrib/anchordict.h
@@ -8,6 +8,7 @@ include/yaml-cpp/emitfromevents.h
include/yaml-cpp/emitter.h
include/yaml-cpp/emitterdef.h
include/yaml-cpp/emittermanip.h
+include/yaml-cpp/emitterstyle.h
include/yaml-cpp/eventhandler.h
include/yaml-cpp/exceptions.h
include/yaml-cpp/mark.h
diff --git a/textproc/yaml-cpp/distinfo b/textproc/yaml-cpp/distinfo
index 98001dd06a4..a67501381df 100644
--- a/textproc/yaml-cpp/distinfo
+++ b/textproc/yaml-cpp/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.2 2015/11/04 02:00:16 agc Exp $
+$NetBSD: distinfo,v 1.3 2016/09/19 09:52:21 fhajny Exp $
-SHA1 (yaml-cpp-0.5.1.tar.gz) = 9c5414b4090491e96d1b808fe8628b31e625fdaa
-RMD160 (yaml-cpp-0.5.1.tar.gz) = e9c4f9c95bc59df88ed2840f2b92078d984f5b67
-SHA512 (yaml-cpp-0.5.1.tar.gz) = 3c6928684d603815c016d663af36be94507f2cccf167d6d8d7cd7dea3ea5f73ec88d62952a2b5d11796e40132857afcbbacd9eafd688f2dc11d0c339caf2e013
-Size (yaml-cpp-0.5.1.tar.gz) = 118244 bytes
+SHA1 (yaml-cpp-0.5.3.tar.gz) = f1e4c3963f86cfbaa362265f15559adc2ee23589
+RMD160 (yaml-cpp-0.5.3.tar.gz) = 7596dc6941d4b6ef09481b6a49113a4993b013a4
+SHA512 (yaml-cpp-0.5.3.tar.gz) = cb11acccc5261e4513b597becf6be5d7fef05ef89a11eda3fc7db9e513adf953a2ec9c1bf70b91277076d793f0c65a496c7243d9b4a4240623e5f7034f8d4ad3
+Size (yaml-cpp-0.5.3.tar.gz) = 2016629 bytes
+SHA1 (patch-test_gmock-1.7.0_configure) = 3d6e638bfca8240a273474328f7c28837dfc8e24
diff --git a/textproc/yaml-cpp/patches/patch-test_gmock-1.7.0_configure b/textproc/yaml-cpp/patches/patch-test_gmock-1.7.0_configure
new file mode 100644
index 00000000000..27469470531
--- /dev/null
+++ b/textproc/yaml-cpp/patches/patch-test_gmock-1.7.0_configure
@@ -0,0 +1,24 @@
+$NetBSD: patch-test_gmock-1.7.0_configure,v 1.1 2016/09/19 09:52:21 fhajny Exp $
+
+Portability.
+
+--- test/gmock-1.7.0/configure.orig 2016-01-10 18:11:40.000000000 +0000
++++ test/gmock-1.7.0/configure
+@@ -15591,7 +15591,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+ have_pthreads="$acx_pthread_ok"
+ fi
+- if test "x$have_pthreads" == "xyes"; then
++ if test "x$have_pthreads" = "xyes"; then
+ HAVE_PTHREADS_TRUE=
+ HAVE_PTHREADS_FALSE='#'
+ else
+@@ -15621,7 +15621,7 @@ else
+ enable_external_gtest=yes
+ fi
+
+-if test "x$with_gtest" == "xno"; then :
++if test "x$with_gtest" = "xno"; then :
+ as_fn_error $? "Support for GoogleTest was explicitly disabled. Currently GoogleMock has a hard
+ dependency upon GoogleTest to build, please provide a version, or allow
+ GoogleMock to use any installed version and fall back upon its internal