Changeset View
Changeset View
Standalone View
Standalone View
devel/R-cran-data.table/Makefile
Show All 16 Lines | |||||
OPTIONS_DEFAULT= OPENMP | OPTIONS_DEFAULT= OPENMP | ||||
OPENMP_CONFIGURE_ENABLE= openmp | OPENMP_CONFIGURE_ENABLE= openmp | ||||
NO_ARCH_IGNORE= datatable.so | NO_ARCH_IGNORE= datatable.so | ||||
.include <bsd.port.options.mk> | .include <bsd.port.options.mk> | ||||
.if ${ARCH} == i386 && ${OSVERSION} < 1202000 | .if defined(PPC_ABI) && ${PPC_ABI} == ELFv1 | ||||
# See PR 230888 : Missing 64 bit atomic functions for i386 | |||||
USES+= compiler:gcc-c++11-lib | |||||
.elif defined(PPC_ABI) && ${PPC_ABI} == ELFv1 | |||||
USE_GCC= yes | USE_GCC= yes | ||||
.else | .else | ||||
USES+= cran:compiles | USES+= cran:compiles | ||||
.endif | |||||
.if ${ARCH} == i386 && ${OSVERSION} < 1202000 | |||||
# See PR 230888 : Missing 64 bit atomic functions for i386 | |||||
post-patch: | |||||
@${REINPLACE_CMD} -e '/^PKG_LIBS/s|$$| -latomic|' \ | |||||
${WRKSRC}/src/Makevars.in | |||||
.endif | .endif | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |