head 1.1; access; symbols; locks; strict; comment @# @; 1.1 date 2026.05.25.21.45.21; author mef; state Exp; branches; next ; commitid Y5HNK0GjoqM38fHG; desc @@ 1.1 log @(math/R-units) Fix build against R 4.6.0 @ text @$NetBSD$ Undefined PLT symbol "backtrace_symbols" this symbol found at /usr/lib/libexecinfo for *BSD --- src/Makevars.in.orig 2023-09-07 03:40:05.000000000 +0900 +++ src/Makevars.in 2026-05-26 06:42:12.633885738 +0900 @@@@ -1,2 +1,11 @@@@ PKG_CPPFLAGS = -DUDUNITS2_DIR=@@UDUNITS2_DIR@@ @@UD_CPPFLAGS@@ + +UNAME := $(shell uname) + PKG_LIBS = @@LIBS@@ + +ifneq ($(UNAME), Linux) +ifneq ($(UNAME), SunOS) +PKG_LIBS += -lexecinfo +endif +endif @