mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
- Fix build on FreeBSD 11
This commit is contained in:
parent
78d5bb6e62
commit
c34c20ec4b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=435443
1 changed files with 4 additions and 8 deletions
|
@ -11,11 +11,14 @@ 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}
|
||||
|
@ -23,13 +26,6 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:S/$/-src/}
|
|||
|
||||
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}
|
||||
|
|
Loading…
Add table
Reference in a new issue