pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/R-readstata13



Module Name:    pkgsrc
Committed By:   mef
Date:           Mon Jul 13 14:04:56 UTC 2026

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

Log Message:
(textproc/R-readstata13) Fix on Darwin and hopefully on Linux


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/textproc/R-readstata13/Makefile
cvs rdiff -u -r1.7 -r1.8 pkgsrc/textproc/R-readstata13/distinfo
cvs rdiff -u -r1.1 -r1.2 \
    pkgsrc/textproc/R-readstata13/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-readstata13/Makefile
diff -u pkgsrc/textproc/R-readstata13/Makefile:1.5 pkgsrc/textproc/R-readstata13/Makefile:1.6
--- pkgsrc/textproc/R-readstata13/Makefile:1.5  Tue May 26 13:46:53 2026
+++ pkgsrc/textproc/R-readstata13/Makefile      Mon Jul 13 14:04:56 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2026/05/26 13:46:53 mef Exp $
+# $NetBSD: Makefile,v 1.6 2026/07/13 14:04:56 mef Exp $
 
 R_PKGNAME=     readstata13
 R_PKGVER=      0.10.1
@@ -17,8 +17,17 @@ TEST_DEPENDS+=       tex-url-[0-9]*:../../prin
 TEST_DEPENDS+= tex-xkeyval-[0-9]*:../../print/tex-xkeyval
 
 USE_LANGUAGES= c c++ fortran
-# only for ifne in patch-src_Makevars
-USE_TOOLS+=    gmake
+
+.include "../../mk/bsd.prefs.mk"
+SUBST_CLASSES+=                pkglibs
+SUBST_STAGE.pkglibs=   pre-configure
+SUBST_FILES.pkglibs=   src/Makevars
+SUBST_MESSAGE.pkglibs= Add -lexecinfo for *BSD
+.if ${OPSYS} != SunOS && ${OPSYS} != Linux && ${OPSYS} != Darwin
+SUBST_SED.pkglibs=     -e s,@@PKG_LIBS@@,PKG_LIBS+=-lexecinfo,
+.else
+SUBST_SED.pkglibs=     -e s,@@PKG_LIBS@@,,
+.endif
 
 .include "../../math/R/Makefile.extension"
 .include "../../devel/R-Rcpp/buildlink3.mk"

Index: pkgsrc/textproc/R-readstata13/distinfo
diff -u pkgsrc/textproc/R-readstata13/distinfo:1.7 pkgsrc/textproc/R-readstata13/distinfo:1.8
--- pkgsrc/textproc/R-readstata13/distinfo:1.7  Tue May 26 13:46:53 2026
+++ pkgsrc/textproc/R-readstata13/distinfo      Mon Jul 13 14:04:56 2026
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.7 2026/05/26 13:46:53 mef Exp $
+$NetBSD: distinfo,v 1.8 2026/07/13 14:04:56 mef Exp $
 
 BLAKE2s (R/readstata13_0.10.1.tar.gz) = 6b39c2df89803d16690f31c9e46780a563c8501c610848de2bd2c7a5aa91377c
 SHA512 (R/readstata13_0.10.1.tar.gz) = b60e9df1598bae9abca5a5d4e3729c9fb7025625ccf9959d338e5ff5fa984ddeae24a7f2fb7502ed6bd87600d2f50baa973f0414da0426835a7f86a33dde94ae
 Size (R/readstata13_0.10.1.tar.gz) = 64795 bytes
-SHA1 (patch-src_Makevars) = 2acd4a7c21842148037dae5efe8001fe73d2a8da
+SHA1 (patch-src_Makevars) = 512c793097b2cada90eb32391702eb47637f3824

Index: pkgsrc/textproc/R-readstata13/patches/patch-src_Makevars
diff -u pkgsrc/textproc/R-readstata13/patches/patch-src_Makevars:1.1 pkgsrc/textproc/R-readstata13/patches/patch-src_Makevars:1.2
--- pkgsrc/textproc/R-readstata13/patches/patch-src_Makevars:1.1        Tue May 26 13:46:53 2026
+++ pkgsrc/textproc/R-readstata13/patches/patch-src_Makevars    Mon Jul 13 14:04:56 2026
@@ -1,19 +1,11 @@
-$NetBSD: patch-src_Makevars,v 1.1 2026/05/26 13:46:53 mef Exp $
+$NetBSD: patch-src_Makevars,v 1.2 2026/07/13 14:04:56 mef Exp $
 
 symbol backtrace_symbols is defined in /usr/lib/libexecinfo
 
 --- src/Makevars.orig  2023-02-14 22:58:59.000000000 +0900
-+++ src/Makevars       2026-05-26 22:43:31.573177454 +0900
-@@ -1,4 +1,12 @@
- ## -*- mode: makefile; -*-
++++ src/Makevars       2026-07-13 23:00:17.942690323 +0900
+@@ -2,3 +2,4 @@
  
-+UNAME := $(shell uname)
-+
  PKG_CPPFLAGS = -I../inst/include -I.
  PKG_LIBS = $(LAPACK_LIBS) $(BLAS_LIBS) $(FLIBS)
-+
-+ifneq ($(UNAME), Linux)
-+ifneq ($(UNAME), SunOS)
-+PKG_LIBS += -lexecinfo
-+endif
-+endif
++@@PKG_LIBS@@



Home | Main Index | Thread Index | Old Index