pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/R-hunspell



Module Name:    pkgsrc
Committed By:   mef
Date:           Tue May 26 21:33:01 UTC 2026

Modified Files:
        pkgsrc/textproc/R-hunspell: Makefile distinfo
Added Files:
        pkgsrc/textproc/R-hunspell/patches: patch-src_Makevars

Log Message:
(textproc/R-hunspell) Fix build against R 4.6.0


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/textproc/R-hunspell/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/textproc/R-hunspell/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/R-hunspell/patches/patch-src_Makevars

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

Modified files:

Index: pkgsrc/textproc/R-hunspell/Makefile
diff -u pkgsrc/textproc/R-hunspell/Makefile:1.4 pkgsrc/textproc/R-hunspell/Makefile:1.5
--- pkgsrc/textproc/R-hunspell/Makefile:1.4     Thu Jan  2 13:30:46 2025
+++ pkgsrc/textproc/R-hunspell/Makefile Tue May 26 21:33:00 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2025/01/02 13:30:46 mef Exp $
+# $NetBSD: Makefile,v 1.5 2026/05/26 21:33:00 mef Exp $
 
 R_PKGNAME=     hunspell
 R_PKGVER=      3.0.5
@@ -23,6 +23,8 @@ TEST_DEPENDS+=        tex-url-[0-9]*:../../prin
 TEST_DEPENDS+= tex-xkeyval-[0-9]*:../../print/tex-xkeyval
 
 USE_LANGUAGES= c c++
+# only for ifne at patch-src_Makevars
+USE_TOOLS+=    gmake
 
 .include "../../math/R/Makefile.extension"
 .include "../../devel/R-Rcpp/buildlink3.mk"

Index: pkgsrc/textproc/R-hunspell/distinfo
diff -u pkgsrc/textproc/R-hunspell/distinfo:1.6 pkgsrc/textproc/R-hunspell/distinfo:1.7
--- pkgsrc/textproc/R-hunspell/distinfo:1.6     Thu Jan  2 13:30:46 2025
+++ pkgsrc/textproc/R-hunspell/distinfo Tue May 26 21:33:00 2026
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.6 2025/01/02 13:30:46 mef Exp $
+$NetBSD: distinfo,v 1.7 2026/05/26 21:33:00 mef Exp $
 
 BLAKE2s (R/hunspell_3.0.5.tar.gz) = 429fb82c5829ea5c64cef3bf1adc8f5f2ece45c8606cfaa89a45f6b53dba901d
 SHA512 (R/hunspell_3.0.5.tar.gz) = ce507c807d3123adda36c1b4fb5991b5fe787ec7cb52f463fb7e109d050c3f1c35efb36bade2cf9e1066d82be7f7d83d89196066fe3251f95bd037fbc8cf0c53
 Size (R/hunspell_3.0.5.tar.gz) = 3214026 bytes
+SHA1 (patch-src_Makevars) = 4c4b7c66e0ead07527ae7b624fbf09e340f79820

Added files:

Index: pkgsrc/textproc/R-hunspell/patches/patch-src_Makevars
diff -u /dev/null pkgsrc/textproc/R-hunspell/patches/patch-src_Makevars:1.1
--- /dev/null   Tue May 26 21:33:01 2026
+++ pkgsrc/textproc/R-hunspell/patches/patch-src_Makevars       Tue May 26 21:33:01 2026
@@ -0,0 +1,21 @@
+$NetBSD: patch-src_Makevars,v 1.1 2026/05/26 21:33:01 mef Exp $
+
+symbol backtrace_symbols is defined in /usr/lib/libexecinfo
+
+--- src/Makevars.orig  2024-10-03 06:31:38.000000000 +0900
++++ src/Makevars       2026-05-27 06:28:29.894023422 +0900
+@@ -15,6 +15,14 @@ LIBHUNSPELL=parsers/textparser.o parsers
+ 
+ STATLIB = hunspell/libstathunspell.a
+ 
++UNAME := $(shell uname)
++
++ifneq ($(UNAME), Linux)
++ifneq ($(UNAME), SunOS)
++PKG_LIBS += -lexecinfo
++endif
++endif
++
+ $(SHLIB): $(STATLIB)
+ 
+ $(STATLIB): $(LIBHUNSPELL)



Home | Main Index | Thread Index | Old Index