Re: Bug#697032: rcpp: FTBFS[kfreebsd]: #error "Rcpp::Timer not supported by your OS."
Dirk Eddelbuettel <firstname.lastname@example.org> writes:
> On 30 December 2012 at 16:15, Christoph Egger wrote:
> | Package: src:rcpp
> | Version: 0.10.2-1
> | Severity: serious
> | User: email@example.com
> | Usertags: kfreebsd
> | X-Debbugs-Cc: firstname.lastname@example.org
> | Justification: fails to build from source (but built successfully in the past)
> | Hi!
> | Your package failed to build on the kfreebsd-* buildds:
> Yup. Rainer Hurling, an active R user on *BSD, already told me about it and
> provided a patch for FreeBSD (as I happen to be upstream and Debian maintainer).
> How do I best get "all BSDs" at once? Currently we do
> #elif defined(linux) || defined(__linux) || defined(__FreeBSD__)
> in two place. If memory serves, there were a) similar handles for NetBSD and
> OpenBSD I should add. And which one do you guys need for the BSD kernel on
Jep I'm seeing __NetBSD__ and __OpenBSD__ in lots of source. kFreeBSD
uses __FreeBSD_kernel__ which -- if memory serves me correctly -- be
also defined in newer FreeBSDs.