pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/automoc4



Module Name:    pkgsrc
Committed By:   wiz
Date:           Wed Aug 20 11:19:10 UTC 2025

Modified Files:
        pkgsrc/devel/automoc4: Makefile distinfo
Added Files:
        pkgsrc/devel/automoc4/patches: patch-Automoc4Config.cmake

Log Message:
automoc4: Don't attempt to add dependencies which do not exist.

>From upstream

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 pkgsrc/devel/automoc4/Makefile
cvs rdiff -u -r1.9 -r1.10 pkgsrc/devel/automoc4/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/devel/automoc4/patches/patch-Automoc4Config.cmake

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

Modified files:

Index: pkgsrc/devel/automoc4/Makefile
diff -u pkgsrc/devel/automoc4/Makefile:1.43 pkgsrc/devel/automoc4/Makefile:1.44
--- pkgsrc/devel/automoc4/Makefile:1.43 Sun Aug 17 08:58:28 2025
+++ pkgsrc/devel/automoc4/Makefile      Wed Aug 20 11:19:09 2025
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.43 2025/08/17 08:58:28 wiz Exp $
+# $NetBSD: Makefile,v 1.44 2025/08/20 11:19:09 wiz Exp $
 
 DISTNAME=      automoc4-0.9.88
-PKGREVISION=   33
+PKGREVISION=   34
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_KDE:=automoc4/0.9.88/}
 DIST_SUBDIR=   automoc4

Index: pkgsrc/devel/automoc4/distinfo
diff -u pkgsrc/devel/automoc4/distinfo:1.9 pkgsrc/devel/automoc4/distinfo:1.10
--- pkgsrc/devel/automoc4/distinfo:1.9  Tue Oct 26 10:14:18 2021
+++ pkgsrc/devel/automoc4/distinfo      Wed Aug 20 11:19:09 2025
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.9 2021/10/26 10:14:18 nia Exp $
+$NetBSD: distinfo,v 1.10 2025/08/20 11:19:09 wiz Exp $
 
 BLAKE2s (automoc4/automoc4-0.9.88.tar.bz2) = abc6b4639d9f324f07985c1f4af3df993ba03ef76dbea644455eca8e352d399b
 SHA512 (automoc4/automoc4-0.9.88.tar.bz2) = 96dfa096a3793f93f6a4acf98c051c871c0285124bff09b12914a17e08a1f26cd63f0bb1c22fdf2c5c29550a1727a087b5de86bfa8a555c562e96052b4a2d820
 Size (automoc4/automoc4-0.9.88.tar.bz2) = 9153 bytes
+SHA1 (patch-Automoc4Config.cmake) = a36dc6e9ffb40d763e918d2000a609ead50989a4

Added files:

Index: pkgsrc/devel/automoc4/patches/patch-Automoc4Config.cmake
diff -u /dev/null pkgsrc/devel/automoc4/patches/patch-Automoc4Config.cmake:1.1
--- /dev/null   Wed Aug 20 11:19:10 2025
+++ pkgsrc/devel/automoc4/patches/patch-Automoc4Config.cmake    Wed Aug 20 11:19:09 2025
@@ -0,0 +1,37 @@
+$NetBSD: patch-Automoc4Config.cmake,v 1.1 2025/08/20 11:19:09 wiz Exp $
+
+From: Stephen Kelly <steveire%gmail.com@localhost>
+Date: Sun, 19 Jul 2015 19:24:51 +0000
+Subject: Don't attempt to add dependencies which do not exist.
+X-Git-Url: http://quickgit.kde.org/?p=automoc.git&a=commitdiff&h=48f6e64d98e4aaa47f2a49faa5f3e821bc21fd6e
+---
+Don't attempt to add dependencies which do not exist.
+---
+
+--- Automoc4Config.cmake.orig  2025-08-20 11:15:50.540346321 +0000
++++ Automoc4Config.cmake
+@@ -114,7 +114,6 @@ macro(AUTOMOC4 _target_NAME _SRCS)
+    if(_moc_files)
+       set(_automoc_source "${CMAKE_CURRENT_BINARY_DIR}/${_target_NAME}_automoc.cpp")
+       get_directory_property(_moc_incs INCLUDE_DIRECTORIES)
+-      get_directory_property(_moc_defs DEFINITIONS)
+       get_directory_property(_moc_cdefs COMPILE_DEFINITIONS)
+ 
+       # configure_file replaces _moc_files, _moc_incs, _moc_cdefs and _moc_defs
+@@ -176,7 +175,6 @@ macro(_ADD_AUTOMOC4_TARGET _target_NAME 
+       set(_automoc_source "${CMAKE_CURRENT_BINARY_DIR}/${_target_NAME}.cpp")
+       set(_automoc_dotFiles "${CMAKE_CURRENT_BINARY_DIR}/${_target_NAME}.cpp.files")
+       get_directory_property(_moc_incs INCLUDE_DIRECTORIES)
+-      get_directory_property(_moc_defs DEFINITIONS)
+       get_directory_property(_moc_cdefs COMPILE_DEFINITIONS)
+ 
+       # configure_file replaces _moc_files, _moc_incs, _moc_cdefs and _moc_defs
+@@ -245,5 +243,7 @@ endmacro(_AUTOMOC4_KDE4_PRE_TARGET_HANDL
+ 
+ 
+ macro(_AUTOMOC4_KDE4_POST_TARGET_HANDLING _target)
+-   add_dependencies(${_target} "${_target}_automoc")
++  if (TARGET "${_target}_automoc")
++    add_dependencies(${_target} "${_target}_automoc")
++  endif()
+ endmacro(_AUTOMOC4_KDE4_POST_TARGET_HANDLING)



Home | Main Index | Thread Index | Old Index