head 1.2; access; symbols pkgsrc-2026Q2:1.1.0.2 pkgsrc-2026Q2-base:1.1; locks; strict; comment @# @; 1.2 date 2026.07.13.14.33.23; author mef; state Exp; branches; next 1.1; commitid A69SLYSmLGBdavNG; 1.1 date 2026.05.26.21.33.01; author mef; state Exp; branches; next ; commitid 2LmKzeXQiyXP1nHG; desc @@ 1.2 log @(textproc/R-hunspell) Fix on Darwin and hopefully on Linux @ text @$NetBSD: patch-src_Makevars,v 1.2 2026/07/13 13:11:27 mef Exp $ symbol backtrace_symbols is defined in /usr/lib/libexecinfo --- src/Makevars.orig 2026-07-13 23:25:32.501709589 +0900 +++ src/Makevars 2026-07-13 23:26:51.338836123 +0900 @@@@ -4,6 +4,7 @@@@ PKG_CXXFLAGS=$(C_VISIBILITY) #Add Windows-only flags (ifeq is a GNU extension...) WINRICONV=$(subst 64,-lRiconv,$(subst 32,64,$(WIN))) PKG_LIBS=-Lhunspell -lstathunspell $(WINRICONV) +@@@@PKG_LIBS@@@@ LIBHUNSPELL=parsers/textparser.o parsers/latexparser.o parsers/manparser.o \ parsers/xmlparser.o parsers/htmlparser.o \ @ 1.1 log @(textproc/R-hunspell) Fix build against R 4.6.0 @ text @d1 1 a1 1 $NetBSD$ d5 7 a11 3 --- 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 d13 2 a14 13 STATLIB = hunspell/libstathunspell.a +UNAME := $(shell uname) + +ifneq ($(UNAME), Linux) +ifneq ($(UNAME), SunOS) +PKG_LIBS += -lexecinfo +endif +endif + $(SHLIB): $(STATLIB) $(STATLIB): $(LIBHUNSPELL) @