pkgsrc-Changes archive

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

CVS commit: pkgsrc/time/R-RcppCCTZ



Module Name:    pkgsrc
Committed By:   mef
Date:           Fri Jan  3 23:31:41 UTC 2025

Modified Files:
        pkgsrc/time/R-RcppCCTZ: Makefile

Log Message:
(time/R-RcppCCTZ) experimental fix for error: '::vfwscanf' has not been declared


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/time/R-RcppCCTZ/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/time/R-RcppCCTZ/Makefile
diff -u pkgsrc/time/R-RcppCCTZ/Makefile:1.2 pkgsrc/time/R-RcppCCTZ/Makefile:1.3
--- pkgsrc/time/R-RcppCCTZ/Makefile:1.2 Sat Nov 30 20:51:35 2024
+++ pkgsrc/time/R-RcppCCTZ/Makefile     Fri Jan  3 23:31:41 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2024/11/30 20:51:35 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2025/01/03 23:31:41 mef Exp $
 
 R_PKGNAME=     RcppCCTZ
 R_PKGVER=      0.2.12
@@ -17,7 +17,17 @@ TEST_DEPENDS+=       tex-url-[0-9]*:../../prin
 TEST_DEPENDS+= tex-xkeyval-[0-9]*:../../print/tex-xkeyval
 
 USE_LANGUAGES=         c c++
-USE_CXX_FEATURES+=     c++11
+.include "../../mk/bsd.prefs.mk"
+
+# https://mail-index.netbsd.org/pkgsrc-users/2025/01/02/msg040775.html
+# See  
+#   /usr/include/wchar.h
+#   /usr/pkg/gcc7/lib/gcc/x86_64--netbsd/7.5.0/include-fixed/wchar.h
+.if ${OPSYS} == "NetBSD"
+.  if ${OPSYS_VERSION} < 090900
+CWRAPPERS_APPEND.cxx=  -D_NETBSD_SOURCE
+.  endif
+.endif
 
 .include "../../math/R/Makefile.extension"
 .include "../../devel/R-Rcpp/buildlink3.mk"



Home | Main Index | Thread Index | Old Index