svn commit: r518707 - head/devel/dmlc-core

Antoine Brodin antoine at FreeBSD.org
Sat Nov 30 07:02:42 UTC 2019


Author: antoine
Date: Sat Nov 30 07:02:41 2019
New Revision: 518707
URL: https://svnweb.freebsd.org/changeset/ports/518707

Log:
  Stop doing bad hacks

Modified:
  head/devel/dmlc-core/Makefile

Modified: head/devel/dmlc-core/Makefile
==============================================================================
--- head/devel/dmlc-core/Makefile	Sat Nov 30 06:53:17 2019	(r518706)
+++ head/devel/dmlc-core/Makefile	Sat Nov 30 07:02:41 2019	(r518707)
@@ -12,9 +12,9 @@ COMMENT=	Common library for scalable and portable dist
 
 LICENSE=	APACHE20
 
-BUILD_DEPENDS=	llvm${LLVM_DEFAULT}>0:devel/llvm${LLVM_DEFAULT}
+BUILD_DEPENDS=	llvm80>0:devel/llvm80
 
-USES=		cmake compiler:c++11-lang
+USES=		cmake
 USE_GITHUB=	yes
 GH_ACCOUNT=	dmlc
 USE_LDCONFIG=	yes
@@ -22,14 +22,8 @@ USE_LDCONFIG=	yes
 CMAKE_ON=	BUILD_SHARED_LIBS
 
 # use clang from ports because otherwise OpenMP isn't detected on some systems (ex. 12.0-RELEASE-p9)
-CPP=		clang-cpp${LLVM_DEFAULT}
-CC=		clang${LLVM_DEFAULT}
-CXX=		clang++${LLVM_DEFAULT}
-
-.include <bsd.port.options.mk>
-
-.if ${LLVM_DEFAULT:S,-devel,990,} >= 90
-LLVM_DEFAULT=	80
-.endif
+CPP=		clang-cpp80
+CC=		clang80
+CXX=		clang++80
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list