head 1.2; access; symbols pkgsrc-2026Q2:1.1.0.2 pkgsrc-2026Q2-base:1.1; locks; strict; comment @# @; 1.2 date 2026.07.04.23.26.00; author mef; state Exp; branches; next 1.1; commitid p4wd4Cedg4rSooMG; 1.1 date 2026.05.25.15.02.10; author mef; state Exp; branches; next ; commitid fsWAjN2I2hgKTcHG; desc @@ 1.2 log @(math/R-plyr) Fix build on Darwin,Linux, hopefully @ 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 --------------------------------- ** testing if installed package can be loaded from temporary location Error: package or namespace load failed for 'plyr' in dyn.load(file, DLLpath = DLLpath, ...): unable to load shared object '/tmp/math/R-plyr/work/.destdir/usr/pkg/lib/R/library/00LOCK-plyr/00new/plyr/libs/plyr.so': /tmp/math/R-plyr/work/.destdir/usr/pkg/lib/R/library/00LOCK-plyr/00new/plyr/libs/plyr.so: Undefined PLT symbol "backtrace_symbols" (symnum = 111) Error: loading failed Execution halted ERROR: loading failed --------------------------------- --- src/Makevars.orig 2026-07-05 08:20:00.751584080 +0900 +++ src/Makevars 2026-07-05 08:22:56.091779410 +0900 @@@@ -0,0 +1,5 @@@@ + #### Debugging flags #### + # Uncomment to enable thread assertions + # PKG_CPPFLAGS += -DDEBUG_THREAD -UNDEBUG + +@@@@PKG_LIBS@@@@ @ 1.1 log @(math/R-plyr) Fix against R 4.6.0 (-lexecinfo) @ text @d1 1 a1 1 $NetBSD$ d15 3 a17 3 --- /dev/null 2026-05-25 23:49:38.565140977 +0900 +++ src/Makevars 2026-05-25 23:54:14.584419265 +0900 @@@@ -0,0 +1,11 @@@@ d22 1 a22 7 +UNAME := $(shell uname) + +ifneq ($(UNAME), Linux) +ifneq ($(UNAME), SunOS) +PKG_LIBS += -lexecinfo +endif +endif @