diff --git a/devel/dmlc-core/Makefile b/devel/dmlc-core/Makefile index 4edb9e440696..dee6e22f06c6 100644 --- a/devel/dmlc-core/Makefile +++ b/devel/dmlc-core/Makefile @@ -1,19 +1,27 @@ PORTNAME= dmlc-core DISTVERSIONPREFIX= v DISTVERSION= 0.3-123 DISTVERSIONSUFFIX= -gb3a4c71 CATEGORIES= devel # machine-learning MAINTAINER= yuri@FreeBSD.org COMMENT= Common library for scalable and portable distributed machine learning LICENSE= APACHE20 -USES= cmake compiler:c++11-lang +USES= cmake USE_GITHUB= yes GH_ACCOUNT= dmlc USE_LDCONFIG= yes CMAKE_ON= BUILD_SHARED_LIBS +.include + +.if ${ARCH} == powerpc +USES+= compiler:gcc-c++11-lib +.else +USES+= compiler:c++11-lang +.endif + .include