# Buildsheet autogenerated by ravenadm tool -- Do not edit. NAMEBASE= R-s2 VERSION= 1.1.9 KEYWORDS= cran VARIANTS= std SDESC[std]= Spherical Geometry Operators from S2 library HOMEPAGE= https://r-spatial.github.io/s2/ CONTACT= CRAN_Automaton[cran@ironwolf.systems] DOWNLOAD_GROUPS= main SITES[main]= CRAN/src/contrib https://loki.dragonflybsd.org/cranfiles/ DISTFILE[1]= s2_1.1.9.tar.gz:main DIST_SUBDIR= CRAN DF_INDEX= 1 SPKGS[std]= single OPTIONS_AVAILABLE= none OPTIONS_STANDARD= none BUILD_DEPENDS= abseil-cpp:dev:std BUILDRUN_DEPENDS= R-Rcpp:single:std R-wk:single:std abseil-cpp:primary:std USES= cran gmake ssl pkgconfig DISTNAME= s2 GENERATED= yes INSTALL_REQ_TOOLCHAIN= yes [FILE:449:descriptions/desc.single] s2: Spherical Geometry Operators Using the S2 Geometry Library Provides R bindings for Google's s2 library for geometric calculations on the sphere. High-performance constructors and exporters provide high compatibility with existing spatial packages, transformers construct new geometries from existing geometries, predicates provide a means to select geometries based on spatial relationships, and accessors extract information about geometries. [FILE:99:distinfo] 4dcd2bff738be5a89b925fed29acb6e224e0f514b4530dc9987a0a72c5a99b55 2967364 CRAN/s2_1.1.9.tar.gz [FILE:183:patches/patch-configure] --- configure.orig 2025-05-23 14:44:45 UTC +++ configure @@ -1,4 +1,4 @@ - +#!/bin/sh # This configure script finds OpenSSL and Abseil, optionally building # Abseil if not found. [FILE:754:patches/patch-src_s2_base_port.h] --- src/s2/base/port.h.orig 2025-01-07 11:51:24 UTC +++ src/s2/base/port.h @@ -30,9 +30,22 @@ // ----------------------------------------------------------------------------- // IS_LITTLE_ENDIAN, IS_BIG_ENDIAN -#if defined(__linux__) || defined(__ANDROID__) +#if defined(__MidnightBSD__) +#include +#define __BYTE_ORDER _BYTE_ORDER +#define __LITTLE_ENDIAN _LITTLE_ENDIAN +#define __BIG_ENDIAN _BIG_ENDIAN + +#elif defined(__linux__) || defined(__ANDROID__) || defined(__FreeBSD__) || defined(__DragonFly__) #include +#elif defined(__NetBSD__) + +#include +#define __BYTE_ORDER _BYTE_ORDER +#define __LITTLE_ENDIAN _LITTLE_ENDIAN +#define __BIG_ENDIAN _BIG_ENDIAN + #elif defined(__APPLE__) // BIG_ENDIAN