Bug: https://bugs.gentoo.org/show_bug.cgi?id=562432
Package-Manager: portage-2.2.20.1
LICENSE="BSD"
SLOT="0"
-KEYWORDS="amd64 arm ~arm64 ~mips ~ppc ppc64 x86 ~amd64-linux ~x86-linux"
-IUSE="+snappy static-libs +tcmalloc"
+KEYWORDS="amd64 arm ~arm64 ~mips ~ppc ppc64 x86 ~amd64-fbsd ~amd64-linux ~x86-linux"
+IUSE="+snappy static-libs +tcmalloc kernel_FreeBSD"
DEPEND="tcmalloc? ( dev-util/google-perftools )
snappy? (
# which the Makefile runs for us automatically.
tc-export AR CC CXX
export OPT="-DNDEBUG ${CPPFLAGS}"
+ local targetos
+ if use kernel_FreeBSD; then
+ targetos="FreeBSD"
+ else
+ targetos="Linux"
+ fi
- TARGET_OS="Linux" \
+ TARGET_OS=${targetos} \
USE_SNAPPY=$(usex snappy) \
USE_TCMALLOC=no \
TMPDIR=${T} \