pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc Fix devel/boost-libs build on NetBSD



details:   https://anonhg.NetBSD.org/pkgsrc/rev/87c40ca3730d
branches:  trunk
changeset: 379410:87c40ca3730d
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Mon Apr 30 00:21:12 2018 +0000

description:
Fix devel/boost-libs build on NetBSD

Bump PKGREVISION of devel/boost-headers

diffstat:

 devel/boost-headers/Makefile                               |   7 ++++---
 meta-pkgs/boost/Makefile.common                            |   4 ++--
 meta-pkgs/boost/distinfo                                   |   3 ++-
 meta-pkgs/boost/patches/patch-boost_asio_detail_config.hpp |  14 ++++++++++++++
 4 files changed, 22 insertions(+), 6 deletions(-)

diffs (80 lines):

diff -r 54c4309eb3e0 -r 87c40ca3730d devel/boost-headers/Makefile
--- a/devel/boost-headers/Makefile      Sun Apr 29 23:20:49 2018 +0000
+++ b/devel/boost-headers/Makefile      Mon Apr 30 00:21:12 2018 +0000
@@ -1,10 +1,11 @@
-# $NetBSD: Makefile,v 1.46 2018/04/29 20:41:11 adam Exp $
+# $NetBSD: Makefile,v 1.47 2018/04/30 00:21:13 ryoon Exp $
 
 BOOST_PACKAGE=         headers
 BOOST_COMMENT=         (build-time headers)
 BOOST_CONFIG=          generate
 
 .include "../../meta-pkgs/boost/Makefile.common"
+PKGREVISION=           1
 
 BJAM_ARGS+=            --without-\*
 
@@ -14,9 +15,9 @@
 
 do-install: bjam-install
        ${FIND} ${DESTDIR}${PREFIX}/include/boost \
-               -type f -exec ${CHOWN} ${SHAREOWN}:${SHAREGRP} {} +
+               -type f -exec ${CHOWN} ${SHAREOWN}:${SHAREGRP} {} \;
        ${FIND} ${DESTDIR}${PREFIX}/include/boost \
-               -type d -exec ${CHMOD} ${PKGDIRMODE} {} +
+               -type d -exec ${CHMOD} ${PKGDIRMODE} {} \;
 
 PTHREAD_OPTS+=         require
 .include "../../mk/pthread.buildlink3.mk"
diff -r 54c4309eb3e0 -r 87c40ca3730d meta-pkgs/boost/Makefile.common
--- a/meta-pkgs/boost/Makefile.common   Sun Apr 29 23:20:49 2018 +0000
+++ b/meta-pkgs/boost/Makefile.common   Mon Apr 30 00:21:12 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.72 2018/04/29 20:41:11 adam Exp $
+# $NetBSD: Makefile.common,v 1.73 2018/04/30 00:21:12 ryoon Exp $
 #
 # used by devel/boost-build/Makefile
 # used by devel/boost-docs/Makefile
@@ -89,7 +89,7 @@
 # We can't do this at post-extract because the extract cookie will get a future
 # timestamp than the sources.  If this happens, print-PLIST does not work.
 pre-configure:
-       ${FIND} ${WRKSRC} -type f -exec ${TOUCH} {} +
+       ${FIND} ${WRKSRC} -type f -exec ${TOUCH} {} \;
 
 # Generate a new user.hpp or use the installed one, depending on the package
 # we are building.
diff -r 54c4309eb3e0 -r 87c40ca3730d meta-pkgs/boost/distinfo
--- a/meta-pkgs/boost/distinfo  Sun Apr 29 23:20:49 2018 +0000
+++ b/meta-pkgs/boost/distinfo  Mon Apr 30 00:21:12 2018 +0000
@@ -1,10 +1,11 @@
-$NetBSD: distinfo,v 1.114 2018/04/29 20:41:11 adam Exp $
+$NetBSD: distinfo,v 1.115 2018/04/30 00:21:12 ryoon Exp $
 
 SHA1 (boost_1_67_0.tar.bz2) = 694ae3f4f899d1a80eb7a3b31b33be73c423c1ae
 RMD160 (boost_1_67_0.tar.bz2) = d5bf97b8a953b87c08e367556856204a05346315
 SHA512 (boost_1_67_0.tar.bz2) = 82bf33d7d2c3db109c9d1f12d40bc2d364c8c95262386f906ccd1a71cd71433bcc01829e968b4a13a5003cf0b50cbdf0b435a1d76530cea7bb05725c327411e8
 Size (boost_1_67_0.tar.bz2) = 87336566 bytes
 SHA1 (patch-boost_archive_basic__archive.hpp) = 7e7c88cfc00fbf524c70dedd8b9c3c889f8b684f
+SHA1 (patch-boost_asio_detail_config.hpp) = f3ae1fd0a026c21a89d196c74e02c4d3c8ea0808
 SHA1 (patch-boost_atomic_detail_ops_gcc_sparc.hpp) = 53525f876daeec0a23963917c4c6fad154cf67c4
 SHA1 (patch-boost_config_detail_posix__features.hpp) = 7d310574e7020c79c8bfa87cff4db0a2edc5b0bc
 SHA1 (patch-boost_config_detail_suffix.hpp) = 12e22085e7c292b2451ea8bc581beaddcb936252
diff -r 54c4309eb3e0 -r 87c40ca3730d meta-pkgs/boost/patches/patch-boost_asio_detail_config.hpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/meta-pkgs/boost/patches/patch-boost_asio_detail_config.hpp        Mon Apr 30 00:21:12 2018 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-boost_asio_detail_config.hpp,v 1.6 2018/04/30 00:21:12 ryoon Exp $
+
+--- boost/asio/detail/config.hpp.orig  2018-04-11 13:49:00.000000000 +0000
++++ boost/asio/detail/config.hpp
+@@ -811,7 +811,9 @@
+ #  if defined(__GNUC__)
+ #   if ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 9)) || (__GNUC__ > 4)
+ #    if (__cplusplus >= 201402)
++#    if __has_include(<experimental/string_view>)
+ #     define BOOST_ASIO_HAS_STD_EXPERIMENTAL_STRING_VIEW 1
++#    endif // __has_include(<experimental/string_view>)
+ #    endif // (__cplusplus >= 201402)
+ #   endif // ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 9)) || (__GNUC__ > 4)
+ #  endif // defined(__GNUC__)



Home | Main Index | Thread Index | Old Index