forked from Lainports/freebsd-ports
USES=llvm now by default exports CC/CPP/CXX so remove those Approved by: portmgr (blanket)
30 lines
525 B
Makefile
30 lines
525 B
Makefile
PORTNAME= libdispatch
|
|
DISTVERSIONPREFIX= swift-
|
|
DISTVERSION= 5.5
|
|
DISTVERSIONSUFFIX= -RELEASE
|
|
PORTEPOCH= 1
|
|
CATEGORIES= devel
|
|
|
|
MAINTAINER= fluffy@FreeBSD.org
|
|
COMMENT= Grand Central Dispatch API support library
|
|
|
|
LICENSE= APACHE20
|
|
|
|
USES= cmake
|
|
USE_LDCONFIG= yes
|
|
USE_CXXSTD= c++17
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= apple
|
|
GH_PROJECT= swift-corelibs-libdispatch
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${OSVERSION} > 1400000
|
|
USES+= llvm:build
|
|
#LD?= ${_LLVM_MK_PREFIX}/bin/ld
|
|
.else
|
|
USES+= compiler:c++17-lang
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|