pkgsrc-WIP-changes archive

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

wip/srecord -- update package to v1.65



Module Name:	pkgsrc-wip
Committed By:	Hauke Fath <hauke%NetBSD.org@localhost>
Pushed By:	hauke
Date:		Wed Feb 11 16:08:46 2026 +0100
Changeset:	b3d58318a9df47edce6bc95bfb969fc3c9478f41

Modified Files:
	srecord/Makefile
	srecord/PLIST
	srecord/distinfo
Added Files:
	srecord/patches/patch-CMakeLists.txt
	srecord/patches/patch-doc_CMakeLists.txt
	srecord/patches/patch-etc_packaging.cmake
	srecord/patches/patch-srecord_CMakeLists.txt

Log Message:
wip/srecord -- update package to v1.65

Upstream switched to cmake

Since there are no knobs to make the extensive html and pdf
documentation optional, we just slash and burn. If desired, there
could be a separate doc package.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=b3d58318a9df47edce6bc95bfb969fc3c9478f41

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

diffstat:
 srecord/Makefile                             |  17 ++--
 srecord/PLIST                                |  96 ++++++++----------
 srecord/distinfo                             |   9 +-
 srecord/patches/patch-CMakeLists.txt         |  27 +++++
 srecord/patches/patch-doc_CMakeLists.txt     | 141 +++++++++++++++++++++++++++
 srecord/patches/patch-etc_packaging.cmake    |  23 +++++
 srecord/patches/patch-srecord_CMakeLists.txt |  26 +++++
 7 files changed, 277 insertions(+), 62 deletions(-)

diffs:
diff --git a/srecord/Makefile b/srecord/Makefile
index bfbad4bf17..a9e3b790d1 100644
--- a/srecord/Makefile
+++ b/srecord/Makefile
@@ -1,19 +1,24 @@
-# $NetBSD: Makefile,v 1.4 2013/01/19 13:17:41 othyro Exp $
+# $NetBSD$
 #
 
-DISTNAME=	srecord-1.61
+DISTNAME=	v${PKGVER}
+PKGNAME=	srecord-${PKGVER}
+PKGVER=		1.65
 CATEGORIES=	devel
-MASTER_SITES=	http://srecord.sourceforge.net/
+MASTER_SITES=	${MASTER_SITE_GITHUB:=sierrafoxtrot/srecord/archive/refs/tags/}
 
 MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=	https://srecord.sourceforge.net/
 COMMENT=	Manipulate EPROM load files
 LICENSE=	gnu-gpl-v3
 
-GNU_CONFIGURE=	yes
+USE_TOOLS+=	groff
+
 USE_LANGUAGES=	c c++
-USE_LIBTOOL=	yes
 
-.include "../../devel/boost-libs/buildlink3.mk"
+WRKSRC=		${WRKDIR}/srecord-${PKGVER}
+
 .include "../../security/libgcrypt/buildlink3.mk"
+.include "../../devel/cmake/build.mk"
+
 .include "../../mk/bsd.pkg.mk"
diff --git a/srecord/PLIST b/srecord/PLIST
index b0cc063d5c..4975949f38 100644
--- a/srecord/PLIST
+++ b/srecord/PLIST
@@ -1,11 +1,15 @@
-@comment $NetBSD: PLIST,v 1.2 2013/01/19 13:17:41 othyro Exp $
+@comment $NetBSD$
 bin/srec_cat
 bin/srec_cmp
 bin/srec_info
 include/srecord/adler16.h
 include/srecord/adler32.h
+include/srecord/arglex.h
+include/srecord/arglex/tool.h
+include/srecord/bitrev.h
 include/srecord/crc16.h
 include/srecord/crc32.h
+include/srecord/defcon.h
 include/srecord/endian.h
 include/srecord/fletcher16.h
 include/srecord/fletcher32.h
@@ -25,11 +29,16 @@ include/srecord/input/file/fairchild.h
 include/srecord/input/file/fastload.h
 include/srecord/input/file/formatted_binary.h
 include/srecord/input/file/four_packed_code.h
+include/srecord/input/file/hexdump.h
+include/srecord/input/file/hp64k.h
+include/srecord/input/file/idt.h
 include/srecord/input/file/intel.h
 include/srecord/input/file/intel16.h
+include/srecord/input/file/logisim.h
 include/srecord/input/file/mif.h
 include/srecord/input/file/mips_flash.h
 include/srecord/input/file/mos_tech.h
+include/srecord/input/file/motorola.h
 include/srecord/input/file/msbin.h
 include/srecord/input/file/needham.h
 include/srecord/input/file/os65v.h
@@ -69,6 +78,7 @@ include/srecord/input/filter/message/crc32.h
 include/srecord/input/filter/message/fletcher16.h
 include/srecord/input/filter/message/fletcher32.h
 include/srecord/input/filter/message/gcrypt.h
+include/srecord/input/filter/message/stm32.h
 include/srecord/input/filter/not.h
 include/srecord/input/filter/offset.h
 include/srecord/input/filter/or.h
@@ -82,13 +92,22 @@ include/srecord/input/generator.h
 include/srecord/input/generator/constant.h
 include/srecord/input/generator/random.h
 include/srecord/input/generator/repeat.h
+include/srecord/input/interval.h
 include/srecord/interval.h
 include/srecord/memory.h
 include/srecord/memory/chunk.h
 include/srecord/memory/walker.h
+include/srecord/memory/walker/adler16.h
+include/srecord/memory/walker/adler32.h
+include/srecord/memory/walker/alignment.h
 include/srecord/memory/walker/compare.h
 include/srecord/memory/walker/continuity.h
+include/srecord/memory/walker/crc16.h
+include/srecord/memory/walker/crc32.h
+include/srecord/memory/walker/fletcher16.h
+include/srecord/memory/walker/fletcher32.h
 include/srecord/memory/walker/gcrypt.h
+include/srecord/memory/walker/stm32.h
 include/srecord/memory/walker/writer.h
 include/srecord/output.h
 include/srecord/output/file.h
@@ -100,6 +119,7 @@ include/srecord/output/file/basic.h
 include/srecord/output/file/binary.h
 include/srecord/output/file/brecord.h
 include/srecord/output/file/c.h
+include/srecord/output/file/coe.h
 include/srecord/output/file/cosmac.h
 include/srecord/output/file/dec_binary.h
 include/srecord/output/file/emon52.h
@@ -109,11 +129,15 @@ include/srecord/output/file/formatted_binary.h
 include/srecord/output/file/forth.h
 include/srecord/output/file/four_packed_code.h
 include/srecord/output/file/hexdump.h
+include/srecord/output/file/idt.h
 include/srecord/output/file/intel.h
 include/srecord/output/file/intel16.h
+include/srecord/output/file/logisim.h
+include/srecord/output/file/mem.h
 include/srecord/output/file/mif.h
 include/srecord/output/file/mips_flash.h
 include/srecord/output/file/mos_tech.h
+include/srecord/output/file/motorola.h
 include/srecord/output/file/msbin.h
 include/srecord/output/file/needham.h
 include/srecord/output/file/os65v.h
@@ -132,62 +156,26 @@ include/srecord/output/file/trs80.h
 include/srecord/output/file/vhdl.h
 include/srecord/output/file/vmem.h
 include/srecord/output/file/wilson.h
+include/srecord/output/filter.h
+include/srecord/output/filter/reblock.h
+include/srecord/pretty_size.h
+include/srecord/progname.h
 include/srecord/quit.h
 include/srecord/quit/exception.h
 include/srecord/quit/normal.h
 include/srecord/quit/prefix.h
+include/srecord/r250.h
 include/srecord/record.h
+include/srecord/sizeof.h
 include/srecord/srecord.h
-lib/libsrecord.la
-lib/pkgconfig/srecord.pc
-man/man1/srec_cat.1
-man/man1/srec_cmp.1
-man/man1/srec_examples.1
-man/man1/srec_info.1
-man/man1/srec_input.1
-man/man1/srec_license.1
-man/man3/srecord.3
-man/man3/srecord_license.3
-man/man5/srec_aomf.5
-man/man5/srec_ascii_hex.5
-man/man5/srec_atmel_generic.5
-man/man5/srec_binary.5
-man/man5/srec_brecord.5
-man/man5/srec_coe.5
-man/man5/srec_cosmac.5
-man/man5/srec_dec_binary.5
-man/man5/srec_emon52.5
-man/man5/srec_fairchild.5
-man/man5/srec_fastload.5
-man/man5/srec_formatted_binary.5
-man/man5/srec_forth.5
-man/man5/srec_fpc.5
-man/man5/srec_idt.5
-man/man5/srec_intel.5
-man/man5/srec_intel16.5
-man/man5/srec_mem.5
-man/man5/srec_mif.5
-man/man5/srec_mips_flash.5
-man/man5/srec_mos_tech.5
-man/man5/srec_motorola.5
-man/man5/srec_msbin.5
-man/man5/srec_needham.5
-man/man5/srec_os65v.5
-man/man5/srec_ppb.5
-man/man5/srec_ppx.5
-man/man5/srec_signetics.5
-man/man5/srec_spasm.5
-man/man5/srec_spectrum.5
-man/man5/srec_stewie.5
-man/man5/srec_tektronix.5
-man/man5/srec_tektronix_extended.5
-man/man5/srec_ti_tagged.5
-man/man5/srec_ti_tagged_16.5
-man/man5/srec_ti_txt.5
-man/man5/srec_trs80.5
-man/man5/srec_vmem.5
-man/man5/srec_wilson.5
-share/doc/srecord/BUILDING.pdf
-share/doc/srecord/README.pdf
-share/doc/srecord/change_log.pdf
-share/doc/srecord/reference.pdf
+include/srecord/stm32.h
+include/srecord/string.h
+include/srecord/versn_stamp.h
+lib/liblib_srecord.a
+@pkgdir man/man5
+@pkgdir man/man3
+@pkgdir man/man1
+@pkgdir include/srecord/string
+@pkgdir include/srecord/interval
+@pkgdir include/srecord/endian
+@pkgdir include/srecord/arglex/tool
diff --git a/srecord/distinfo b/srecord/distinfo
index 9e1ee872e6..9e20b8334a 100644
--- a/srecord/distinfo
+++ b/srecord/distinfo
@@ -1,4 +1,9 @@
 $NetBSD: distinfo,v 1.2 2013/01/19 13:17:41 othyro Exp $
 
-RMD160 (srecord-1.61.tar.gz) = d583d8ef9e9d64b1f3fa3397cf8daa0e49cb209b
-Size (srecord-1.61.tar.gz) = 916174 bytes
+BLAKE2s (v1.65.tar.gz) = 3c986175c657d6f2ee2b182e545405cb6d19ec64f5e3b75f721894d424fb0bb4
+SHA512 (v1.65.tar.gz) = cdc18c21bf9607987b91d31d7ee76d19901ab81776943cc72b46ca92bbdb29f99b644da038c2903cd42473411e6e19e5b67c3225599ea874d40fb635dc0b84ed
+Size (v1.65.tar.gz) = 809393 bytes
+SHA1 (patch-CMakeLists.txt) = 8ba2422b80185398fdcf09717171efea1e5e307b
+SHA1 (patch-doc_CMakeLists.txt) = e28ee822f25148225859d95036100444c30d20af
+SHA1 (patch-etc_packaging.cmake) = 1e7aeca847a551937805efadb87a0c2a1c78a6c7
+SHA1 (patch-srecord_CMakeLists.txt) = f989f9ad1ca5127e2d4bf596281fd0bc888e7b03
diff --git a/srecord/patches/patch-CMakeLists.txt b/srecord/patches/patch-CMakeLists.txt
new file mode 100644
index 0000000000..5affefc94c
--- /dev/null
+++ b/srecord/patches/patch-CMakeLists.txt
@@ -0,0 +1,27 @@
+$NetBSD$
+
+Do not hard-code install location
+See Github sierrafoxtrot/srecord #68
+
+--- CMakeLists.txt.orig	2022-10-18 10:47:58.000000000 +0000
++++ CMakeLists.txt
+@@ -23,16 +23,13 @@ set(CMAKE_BUILD_TYPE Release)
+ # Headers are all relative to project root
+ include_directories(./)
+ 
+-# Support for pulling in dependencies required for Windows install
+-include(InstallRequiredSystemLibraries)
+-
+ # Support standard install locations
+ include(GNUInstallDirs)
+ 
+ # FHS compliant paths for Linux installation
+-if(NOT WIN32 AND CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
+-#  set(CMAKE_INSTALL_PREFIX "/opt/${PROJECT_NAME}")
+-  set(CMAKE_INSTALL_PREFIX "/usr")
++if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT
++        AND NOT WIN32 AND CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
++  set(CMAKE_INSTALL_PREFIX "/usr" CACHE PATH "Install prefix" FORCE)
+ endif()
+ 
+ # Pull in the rest of the pieces
diff --git a/srecord/patches/patch-doc_CMakeLists.txt b/srecord/patches/patch-doc_CMakeLists.txt
new file mode 100644
index 0000000000..cff3e4ed8c
--- /dev/null
+++ b/srecord/patches/patch-doc_CMakeLists.txt
@@ -0,0 +1,141 @@
+$NetBSD$
+
+Do not generate HTML and PDF documentation
+Since upstream does not provide any knobs, this would need to be a
+separate package
+
+--- doc/CMakeLists.txt.orig	2026-02-11 14:34:13.795785857 +0000
++++ doc/CMakeLists.txt
+@@ -44,11 +44,6 @@ file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINA
+ file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/man1)
+ file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/man3)
+ file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/man5)
+-file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html)
+-file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html/man)
+-file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html/man/man1)
+-file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html/man/man3)
+-file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html/man/man5)
+ 
+ # man pages
+ file(GLOB_RECURSE MAN_PAGES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "man*/*.[135]")
+@@ -85,111 +80,7 @@ foreach(m_src ${MAN_PAGES})
+     COMMENT "Building ${m_target}"
+     VERBATIM)
+   list(APPEND MAN_PAGE_OUTPUTS ${m_target})
+-
+-  # HTML formatted man pages for web viewing
+-  set(m_target ${CMAKE_CURRENT_BINARY_DIR}/html/man/${m_src}.html)
+-  cmake_path(GET m_src STEM image_stem_name)
+-  cmake_path(GET m_target PARENT_PATH m_target_path)
+-  add_custom_command(OUTPUT ${m_target}
+-    COMMAND ${GROFF} -Thtml -t -man -I${CMAKE_CURRENT_SOURCE_DIR_UNIX_FORMAT} -I${CMAKE_CURRENT_BINARY_DIR_UNIX_FORMAT} -P-I${image_stem_name} ${m_src} > ${m_target}
+-    DEPENDS ${m_src} ${MAN_COMMON}
+-    WORKING_DIRECTORY ${m_target_path}
+-    COMMENT "Building ${m_target} in ${m_target_path}"
+-    VERBATIM)
+-  list(APPEND HTML_MAN_PAGE_OUTPUTS ${m_target})
+-endforeach()
+-
+-# Generate the index page for the HTML formatted man pages
+-set(i_target ${CMAKE_CURRENT_BINARY_DIR}/html/man/index.html)
+-set(HTML_MAN_PAGE_INDEX ${i_target})
+-add_custom_command(OUTPUT ${HTML_MAN_PAGE_INDEX}
+-  COMMAND ${MAN_HTML_INDEX} ${MAN_PAGES} > ${i_target}
+-  DEPENDS ${MAN_PAGES} ${MAN_COMMON}
+-  COMMENT "Building the HTML man page index"
+-  VERBATIM)
+-
+-add_custom_target(man ALL DEPENDS ${MAN_PAGE_OUTPUTS})
+-if(NOT WIN32)
+-  # groff which is used to generate HTML formatted man pages relies on underlying
+-  # tools from the netpmb package which is as yet unsupported under MSYS2.
+-  # For now, building HTML web pages only run
+-  add_custom_target(man-html ALL DEPENDS ${HTML_MAN_PAGE_OUTPUTS} ${HTML_MAN_PAGE_INDEX})
+-endif()
+-
+-# The website
+-file(GLOB_RECURSE WEBSITE_IMAGES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+-  "html/*.png" "html/*.ico")
+-foreach(i ${WEBSITE_IMAGES})
+-  configure_file(${i} ${i} COPYONLY)
+-endforeach()
+-
+-file(GLOB_RECURSE WEB_PAGES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "html/*.html")
+-foreach(w_src ${WEB_PAGES})
+-  set(w_target ${CMAKE_CURRENT_BINARY_DIR}/${w_src})
+-  add_custom_command(OUTPUT ${w_target}
+-    COMMAND ${GROFF} -Tascii -t -P-bcu -man -I${CMAKE_CURRENT_SOURCE_DIR} ${w_src} | ${SSP} > ${w_target}
+-    DEPENDS ${w_src}
+-    COMMENT "Building ${w_target}"
+-    VERBATIM)
+-  list(APPEND WEB_PAGE_OUTPUTS ${w_target})
+ endforeach()
+-add_custom_target(web-site ALL DEPENDS ${WEB_PAGE_OUTPUTS})
+-
+-# Reference Manual Components
+-set(REF_INDEX ${CMAKE_CURRENT_BINARY_DIR}/etc/ref-index.so)
+-add_custom_command(OUTPUT ${REF_INDEX}
+-  COMMAND ${BUILD_REF_INDEX} ${CMAKE_CURRENT_SOURCE_DIR} ${REF_INDEX} ${MAN_PAGES}
+-  DEPENDS ${MAN_PAGES} ${CMAKE_CURRENT_SOURCE_DIR}/script/ref-ptx.ignore ${CMAKE_CURRENT_SOURCE_DIR}/script/ref-ptx1.awk ${CMAKE_CURRENT_SOURCE_DIR}/script/ref-ptx2.awk
+-  COMMENT "Building ${REF_INDEX}"
+-  VERBATIM
+-  )
+-
+-set(REF_PARTS ${CMAKE_CURRENT_BINARY_DIR}/etc/ref-parts.so)
+-add_custom_command(OUTPUT ${REF_PARTS}
+-  COMMAND ${REF_PTX} ${MAN_PAGES} > ${REF_PARTS}
+-  DEPENDS ${MAN_PAGES} ${CMAKE_CURRENT_SOURCE_DIR}/script/ref-ptx.sh
+-  COMMENT "Building ${REF_PARTS}"
+-  VERBATIM
+-  )
+-
+-set(NEW_CHANGES ${CMAKE_CURRENT_BINARY_DIR}/etc/new.so)
+-add_custom_command(OUTPUT ${NEW_CHANGES}
+-  COMMAND ${NEW_CH} -r ${NEW_CHANGE_NOTES} > ${NEW_CHANGES}
+-  DEPENDS ${NEW_CHANGE_NOTES} ${CMAKE_CURRENT_SOURCE_DIR}/script/ref-ptx.sh
+-  COMMENT "Building ${NEW_CHANGES}"
+-  VERBATIM
+-  )
+-
+-# Standalone Documents
+-
+-# Transform man page(s) (ie troff format files) into a PDF
+-FUNCTION(ADD_DOC TARGET SOURCE DEPS)
+-  add_custom_command(OUTPUT ${TARGET}
+-    COMMAND ${GROFF} -Tps -s -I${CMAKE_CURRENT_SOURCE_DIR_UNIX_FORMAT} -I${CMAKE_CURRENT_BINARY_DIR_UNIX_FORMAT} -t -man ${SOURCE} > ${TARGET}.ps.tmp
+-    COMMAND ${PAGE_SELECT} ${CMAKE_CURRENT_SOURCE_DIR}/etc/page-list.awk ${TARGET}.ps.tmp ${TARGET}.ps
+-    COMMAND ${PS2PDFEXE} ${TARGET}.ps ${TARGET}
+-    COMMAND rm ${TARGET}.ps ${TARGET}.ps.tmp
+-    DEPENDS ${SOURCE} ${DEPS}
+-    COMMENT "Building ${TARGET}"
+-    VERBATIM)
+-  list(APPEND DOC_TARGETS ${TARGET})
+-  set(DOC_TARGETS ${DOC_TARGETS} PARENT_SCOPE)
+-ENDFUNCTION()
+-
+-ADD_DOC(${CMAKE_CURRENT_BINARY_DIR}/BUILDING.pdf ${CMAKE_CURRENT_SOURCE_DIR}/etc/BUILDING.man "")
+-ADD_DOC(${CMAKE_CURRENT_BINARY_DIR}/README.pdf ${CMAKE_CURRENT_SOURCE_DIR}/etc/README.man "${NEW_CHANGES}")
+-ADD_DOC(${CMAKE_CURRENT_BINARY_DIR}/change_log.pdf ${CMAKE_CURRENT_SOURCE_DIR}/etc/change_log.man "${NEW_CHANGES}")
+-ADD_DOC(${CMAKE_CURRENT_BINARY_DIR}/reference-${srecord_VERSION_MAJOR}.${srecord_VERSION_MINOR}.pdf
+-        ${CMAKE_CURRENT_SOURCE_DIR}/etc/reference.man "${REF_PARTS};${REF_INDEX};${NEW_CHANGES}")
+-add_custom_target(doco ALL DEPENDS ${DOC_TARGETS})
+-
+-# Installation
+-# A copy of the generated PDFs In the docdir for local reference
+-install(FILES ${DOC_TARGETS}
+-        DESTINATION ${CMAKE_INSTALL_DOCDIR}/)
+-# Install a copy of the generated PDFs for the website
+-install(FILES ${DOC_TARGETS}
+-        DESTINATION ${CMAKE_INSTALL_DOCDIR}/htdocs)
+ 
+ # Install all the man pages on not-windows
+ if(NOT WIN32)
+@@ -200,8 +91,3 @@ if(NOT WIN32)
+ 	    FILES_MATCHING PATTERN "*.${i}")
+   endforeach()
+ endif()
+-
+-# Install the website
+-install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html/
+-        DESTINATION ${CMAKE_INSTALL_DOCDIR}/htdocs
+- 	COMPONENT website)
diff --git a/srecord/patches/patch-etc_packaging.cmake b/srecord/patches/patch-etc_packaging.cmake
new file mode 100644
index 0000000000..9f380b0faa
--- /dev/null
+++ b/srecord/patches/patch-etc_packaging.cmake
@@ -0,0 +1,23 @@
+$NetBSD$
+
+Upstream's installation procedure is intermingled with windows bits,
+on top of being cmake.
+
+--- etc/packaging.cmake.orig	2022-10-09 08:53:05.000000000 +0000
++++ etc/packaging.cmake
+@@ -42,15 +42,6 @@ FUNCTION(INSTALL_SRECORD_EXECUTABLE_TARG
+     list(APPEND DLL_SEARCH_DIRS "${COMPILER_C_DIR}")
+     list(APPEND DLL_SEARCH_DIRS "${COMPILER_CXX_DIR}")
+   endif()
+-
+-  install(IMPORTED_RUNTIME_ARTIFACTS ${target}
+-    RUNTIME_DEPENDENCY_SET ${PROJECT_NAME}_dlls COMPONENT ${target})
+-  install(RUNTIME_DEPENDENCY_SET ${PROJECT_NAME}_dlls
+-    PRE_EXCLUDE_REGEXES "api-ms-" "ext-ms-"
+-    POST_EXCLUDE_REGEXES ".*system32/.*\\.dll"
+-    DIRECTORIES ${DLL_SEARCH_DIRS}
+-    COMPONENT ${target}
+-    )
+ ENDFUNCTION()
+ 
+ # Packaging
diff --git a/srecord/patches/patch-srecord_CMakeLists.txt b/srecord/patches/patch-srecord_CMakeLists.txt
new file mode 100644
index 0000000000..f22164e21d
--- /dev/null
+++ b/srecord/patches/patch-srecord_CMakeLists.txt
@@ -0,0 +1,26 @@
+$NetBSD$
+
+Do not generate HTML and PDF documentation
+Since upstream does not provide any knobs, this would need to be a
+separate package
+
+--- srecord/CMakeLists.txt.orig	2026-02-11 14:47:16.084002498 +0000
++++ srecord/CMakeLists.txt
+@@ -33,17 +33,8 @@ install(DIRECTORY ${CMAKE_CURRENT_SOURCE
+         DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
+         FILES_MATCHING PATTERN "*.h")
+ 
+-# Install the Doxygen output for the website
+-install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html
+-        DESTINATION ${CMAKE_INSTALL_DOCDIR}/htdocs/srecord
+- 	COMPONENT website)
+-
+ # Generate config.h to suit local environment
+ configure_file(config.h.in config.h @ONLY)
+ configure_file(patchlevel.h.in patchlevel.h @ONLY)
+ include_directories(${CMAKE_CURRENT_BINARY_DIR})
+ 
+-# Generate doxygen content
+-doxygen_add_docs(doxygen
+-                 ${LIB_SRECORD_HDR}
+-		 ALL)


Home | Main Index | Thread Index | Old Index