Index: head/lang/ldc/Makefile =================================================================== --- head/lang/ldc/Makefile (revision 435442) +++ head/lang/ldc/Makefile (revision 435443) @@ -1,37 +1,33 @@ # Created by: Alonso Cardenas Marquez # $FreeBSD$ PORTNAME= ldc PORTVERSION= 1.1.0 CATEGORIES= lang MASTER_SITES= https://github.com/ldc-developers/ldc/releases/download/v${PORTVERSION}/:source \ https://github.com/ldc-developers/ldc/releases/download/v${BOOTVER}/:bootstrap DISTFILES= ${DISTNAME:S/$/-src/}${EXTRACT_SUFX}:source MAINTAINER= acm@FreeBSD.org COMMENT= The LLVM-based D compiler +LICENSE= BSD3CLAUSE + +BUILD_DEPENDS= clang39:devel/llvm39 LIB_DEPENDS= libconfig.so:devel/libconfig -LICENSE= BSD3CLAUSE USES= cmake CMAKE_ARGS+= -DD_COMPILER:STRING="${WRKDIR}/${PORTNAME}-${BOOTVER:S/$/-src/}/bin/ldmd2" +CC= clang39 BOOTVER= 0.17.3 LDCVER= ${PORTVERSION} WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:S/$/-src/} DISTFILES+= ${PORTNAME}-${BOOTVER}-src.tar.gz:bootstrap - -.include - -.if ${OSVERSION} < 1100101 -BUILD_DEPENDS+= clang39:devel/llvm39 -CC= clang39 -.endif pre-configure: @cd ${WRKDIR}/${PORTNAME}-${BOOTVER:S/$/-src/} && ${CMAKE_BIN} . @cd ${WRKDIR}/${PORTNAME}-${BOOTVER:S/$/-src/} && ${MAKE} .include