pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/yaml-cpp



Module Name:    pkgsrc
Committed By:   ryoon
Date:           Tue Jul 18 18:34:53 UTC 2023

Modified Files:
        pkgsrc/textproc/yaml-cpp: Makefile PLIST distinfo
Added Files:
        pkgsrc/textproc/yaml-cpp/patches: patch-CMakeLists.txt

Log Message:
yaml-cpp: Install yaml-cpp.pc file under lib/pkgconfig

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 pkgsrc/textproc/yaml-cpp/Makefile
cvs rdiff -u -r1.8 -r1.9 pkgsrc/textproc/yaml-cpp/PLIST
cvs rdiff -u -r1.10 -r1.11 pkgsrc/textproc/yaml-cpp/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/yaml-cpp/patches/patch-CMakeLists.txt

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/yaml-cpp/Makefile
diff -u pkgsrc/textproc/yaml-cpp/Makefile:1.9 pkgsrc/textproc/yaml-cpp/Makefile:1.10
--- pkgsrc/textproc/yaml-cpp/Makefile:1.9       Sun Aug 29 12:37:09 2021
+++ pkgsrc/textproc/yaml-cpp/Makefile   Tue Jul 18 18:34:53 2023
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.9 2021/08/29 12:37:09 adam Exp $
+# $NetBSD: Makefile,v 1.10 2023/07/18 18:34:53 ryoon Exp $
 
 DISTNAME=      yaml-cpp-0.7.0
+PKGREVISION=   1
 CATEGORIES=    textproc
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=jbeder/}
 GITHUB_TAG=    ${DISTNAME}

Index: pkgsrc/textproc/yaml-cpp/PLIST
diff -u pkgsrc/textproc/yaml-cpp/PLIST:1.8 pkgsrc/textproc/yaml-cpp/PLIST:1.9
--- pkgsrc/textproc/yaml-cpp/PLIST:1.8  Tue Aug 31 17:22:08 2021
+++ pkgsrc/textproc/yaml-cpp/PLIST      Tue Jul 18 18:34:53 2023
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.8 2021/08/31 17:22:08 tnn Exp $
+@comment $NetBSD: PLIST,v 1.9 2023/07/18 18:34:53 ryoon Exp $
 include/yaml-cpp/anchor.h
 include/yaml-cpp/binary.h
 include/yaml-cpp/contrib/anchordict.h
@@ -36,11 +36,11 @@ include/yaml-cpp/parser.h
 include/yaml-cpp/stlemitter.h
 include/yaml-cpp/traits.h
 include/yaml-cpp/yaml.h
+lib/cmake/yaml-cpp/yaml-cpp-config-version.cmake
+lib/cmake/yaml-cpp/yaml-cpp-config.cmake
+lib/cmake/yaml-cpp/yaml-cpp-targets-noconfig.cmake
+lib/cmake/yaml-cpp/yaml-cpp-targets.cmake
 lib/libyaml-cpp.so
-lib/libyaml-cpp.so.${PKGVERSION}
 lib/libyaml-cpp.so.0.7
-share/cmake/yaml-cpp/yaml-cpp-config-version.cmake
-share/cmake/yaml-cpp/yaml-cpp-config.cmake
-share/cmake/yaml-cpp/yaml-cpp-targets-noconfig.cmake
-share/cmake/yaml-cpp/yaml-cpp-targets.cmake
-share/pkgconfig/yaml-cpp.pc
+lib/libyaml-cpp.so.${PKGVERSION}
+lib/pkgconfig/yaml-cpp.pc

Index: pkgsrc/textproc/yaml-cpp/distinfo
diff -u pkgsrc/textproc/yaml-cpp/distinfo:1.10 pkgsrc/textproc/yaml-cpp/distinfo:1.11
--- pkgsrc/textproc/yaml-cpp/distinfo:1.10      Tue Oct 26 11:23:42 2021
+++ pkgsrc/textproc/yaml-cpp/distinfo   Tue Jul 18 18:34:53 2023
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.10 2021/10/26 11:23:42 nia Exp $
+$NetBSD: distinfo,v 1.11 2023/07/18 18:34:53 ryoon Exp $
 
 BLAKE2s (yaml-cpp-0.7.0.tar.gz) = 6cbb49a1522f46626f0302c74efdfea57a316bf0cdf3b730620b6e17308d8fb5
 SHA512 (yaml-cpp-0.7.0.tar.gz) = 2de0f0ec8f003cd3c498d571cda7a796bf220517bad2dc02cba70c522dddde398f33cf1ad20da251adaacb2a07b77844111f297e99d45a7c46ebc01706bbafb5
 Size (yaml-cpp-0.7.0.tar.gz) = 1033237 bytes
+SHA1 (patch-CMakeLists.txt) = 5b5ae236ae00fd04fe5a371b1a0aefffb7474632

Added files:

Index: pkgsrc/textproc/yaml-cpp/patches/patch-CMakeLists.txt
diff -u /dev/null pkgsrc/textproc/yaml-cpp/patches/patch-CMakeLists.txt:1.1
--- /dev/null   Tue Jul 18 18:34:53 2023
+++ pkgsrc/textproc/yaml-cpp/patches/patch-CMakeLists.txt       Tue Jul 18 18:34:53 2023
@@ -0,0 +1,30 @@
+$NetBSD: patch-CMakeLists.txt,v 1.1 2023/07/18 18:34:53 ryoon Exp $
+
+--- CMakeLists.txt.orig        2021-07-10 15:53:22.000000000 +0000
++++ CMakeLists.txt
+@@ -130,7 +130,7 @@ set_target_properties(yaml-cpp PROPERTIE
+ configure_package_config_file(
+   "${PROJECT_SOURCE_DIR}/yaml-cpp-config.cmake.in"
+   "${PROJECT_BINARY_DIR}/yaml-cpp-config.cmake"
+-  INSTALL_DESTINATION "${CMAKE_INSTALL_DATADIR}/cmake/yaml-cpp")
++  INSTALL_DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/yaml-cpp")
+ 
+ write_basic_package_version_file(
+   "${PROJECT_BINARY_DIR}/yaml-cpp-config-version.cmake"
+@@ -148,13 +148,13 @@ if (YAML_CPP_INSTALL)
+     DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
+               FILES_MATCHING PATTERN "*.h")
+   install(EXPORT yaml-cpp-targets
+-    DESTINATION "${CMAKE_INSTALL_DATADIR}/cmake/yaml-cpp")
++    DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/yaml-cpp")
+       install(FILES
+               "${PROJECT_BINARY_DIR}/yaml-cpp-config.cmake"
+               "${PROJECT_BINARY_DIR}/yaml-cpp-config-version.cmake"
+-    DESTINATION "${CMAKE_INSTALL_DATADIR}/cmake/yaml-cpp")
++    DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/yaml-cpp")
+   install(FILES "${PROJECT_BINARY_DIR}/yaml-cpp.pc"
+-    DESTINATION ${CMAKE_INSTALL_DATADIR}/pkgconfig)
++    DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
+ endif()
+ 
+ if(YAML_CPP_BUILD_TESTS)



Home | Main Index | Thread Index | Old Index