head 1.1; access; symbols; locks; strict; comment @# @; 1.1 date 2026.05.26.13.33.03; author mef; state Exp; branches; next ; commitid pom1q7zBUHybnkHG; desc @@ 1.1 log @(math/R-energy) Fix build against R 4.6.0 @ text @$NetBSD: patch-src_Makevars,v 1.1 2026/05/25 15:02:10 mef Exp $ symbol backtrace_symbols is defined in /usr/lib/libexecinfo --- /dev/null 2026-05-25 23:49:38.565140977 +0900 +++ src/Makevars 2026-05-25 23:54:14.584419265 +0900 @@@@ -0,0 +1,11 @@@@ + #### Debugging flags #### + # Uncomment to enable thread assertions + # PKG_CPPFLAGS += -DDEBUG_THREAD -UNDEBUG + +UNAME := $(shell uname) + +ifneq ($(UNAME), Linux) +ifneq ($(UNAME), SunOS) +PKG_LIBS += -lexecinfo +endif +endif @