svn commit: r435443 - head/lang/ldc

Jose Alonso Cardenas Marquez acm at FreeBSD.org
Sun Mar 5 03:07:53 UTC 2017


Author: acm
Date: Sun Mar  5 03:07:52 2017
New Revision: 435443
URL: https://svnweb.freebsd.org/changeset/ports/435443

Log:
  - Fix build on FreeBSD 11

Modified:
  head/lang/ldc/Makefile

Modified: head/lang/ldc/Makefile
==============================================================================
--- head/lang/ldc/Makefile	Sun Mar  5 02:47:48 2017	(r435442)
+++ head/lang/ldc/Makefile	Sun Mar  5 03:07:52 2017	(r435443)
@@ -11,11 +11,14 @@ DISTFILES=	${DISTNAME:S/$/-src/}${EXTRAC
 MAINTAINER=	acm at 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}
@@ -23,13 +26,6 @@ WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVER
 
 DISTFILES+=	${PORTNAME}-${BOOTVER}-src.tar.gz:bootstrap
 
-.include <bsd.port.options.mk>
-
-.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}


More information about the svn-ports-head mailing list