# Buildsheet autogenerated by ravenadm tool -- Do not edit.
NAMEBASE= R-Rcpp
VERSION= 1.1.1
KEYWORDS= cran
VARIANTS= std
SDESC[std]= Seamless R and C++ Integration
HOMEPAGE= https://www.rcpp.org
CONTACT= CRAN_Automaton[cran@ironwolf.systems]
DOWNLOAD_GROUPS= main
SITES[main]= CRAN/src/contrib
https://loki.dragonflybsd.org/cranfiles/
DISTFILE[1]= Rcpp_1.1.1.tar.gz:main
DIST_SUBDIR= CRAN
DF_INDEX= 1
SPKGS[std]= single
OPTIONS_AVAILABLE= none
OPTIONS_STANDARD= none
USES= cran gmake
DISTNAME= Rcpp
GENERATED= yes
INSTALL_REQ_TOOLCHAIN= yes
post-patch:
${REINPLACE_CMD} -i'' -e "s|#!/bin/bash|#!${LOCALBASE}/bin/bash|" \
${WRKSRC}/inst/examples/ConvolveBenchmarks/buildAndRun.sh \
${WRKSRC}/inst/examples/ConvolveBenchmarks/overhead.sh
${REINPLACE_CMD} -i'' -e "s|#!/usr/bin/r|#!${LOCALBASE}/bin/R|" \
${WRKSRC}/inst/examples/*/*.r \
${WRKSRC}/inst/examples/*/*.R
[FILE:1030:descriptions/desc.single]
Rcpp: Seamless R and C++ Integration
The 'Rcpp' package provides R functions as well as C++ classes which offer
a seamless integration of R and C++. Many R data types and objects can be
mapped back and forth to C++ equivalents which facilitates both writing of
new code as well as easier integration of third-party libraries.
Documentation about 'Rcpp' is provided by several vignettes included in
this package, via the 'Rcpp Gallery' site at <https://gallery.rcpp.org>, the paper by Eddelbuettel
and Francois (2011, <doi:10.18637/jss.v040.i08>), the book by Eddelbuettel
(2013, <doi:10.1007/978-1-4614-6868-4>) and the paper by
Eddelbuettel and Balamuta (2018, <doi:10.1080/00031305.2017.1375990>); see
'citation("Rcpp")' for details.
[FILE:101:distinfo]
da0c616a71c82150397259516b2ea7558dbd31a5b4a217423ec9666b3a0fcfb7 1883133 CRAN/Rcpp_1.1.1.tar.gz
[FILE:1269:patches/patch-inst_include_Rcpp_Benchmark_Timer.h]
--- inst/include/Rcpp/Benchmark/Timer.h.orig 2025-01-01 17:15:53 UTC
+++ inst/include/Rcpp/Benchmark/Timer.h
@@ -34,7 +34,7 @@
#include
#elif defined(__APPLE__)
#include
-#elif defined(linux) || defined(__linux) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__GLIBC__) || defined(__GNU__) || defined(__CYGWIN__)
+#elif defined(linux) || defined(__linux) || defined(__DragonFly__)|| defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__GLIBC__) || defined(__GNU__) || defined(__CYGWIN__)
#include
#elif defined(sun) || defined(__sun) || defined(_AIX)
#include
@@ -70,7 +70,7 @@ namespace Rcpp{
return time * (info.numer / info.denom);
}
-#elif defined(linux) || defined(__linux) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__GLIBC__) || defined(__GNU__) || defined(__CYGWIN__)
+#elif defined(linux) || defined(__linux) || defined(__DragonFly__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__GLIBC__) || defined(__GNU__) || defined(__CYGWIN__)
static const nanotime_t nanoseconds_in_second = static_cast(1000000000.0);