mirror of
https://git.freebsd.org/ports.git
synced 2025-05-18 18:13:12 -04:00
Release notes: https://github.com/apple/swift-corelibs-libdispatch/releases/tag/swift-5.10-RELEASE https://github.com/apple/swift-corelibs-libdispatch/releases/tag/swift-5.10.1-RELEASE Sponsored by: Serenity Cybersecurity, LLC
35 lines
831 B
Makefile
35 lines
831 B
Makefile
PORTNAME= libdispatch
|
|
DISTVERSION= 5.10.1
|
|
PORTEPOCH= 1
|
|
CATEGORIES= devel
|
|
|
|
MAINTAINER= fluffy@FreeBSD.org
|
|
COMMENT= Grand Central Dispatch API support library
|
|
|
|
LICENSE= APACHE20
|
|
|
|
USES= cmake:testing compiler:c++17-lang
|
|
USE_LDCONFIG= yes
|
|
USE_CXXSTD= c++17
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= apple
|
|
GH_PROJECT= swift-corelibs-libdispatch
|
|
GH_TAGNAME= swift-${DISTVERSION}-RELEASE
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
#.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400000 && ${OSVERSION} < 1400079
|
|
#USES+= llvm:max=17,build
|
|
#USES:= ${USES:Ncompiler\:*} # XXX avoid warnings
|
|
#CC= ${_LLVM_MK_PREFIX}/bin/clang
|
|
#CPP= ${_LLVM_MK_PREFIX}/bin/clang-cpp
|
|
#CXX= ${_LLVM_MK_PREFIX}/bin/clang++
|
|
#LD?= ${_LLVM_MK_PREFIX}/bin/ld
|
|
#.endif
|
|
|
|
.if ${OPSYS} == FreeBSD && ${ARCH} == i386
|
|
CFLAGS+= -Wno-incompatible-function-pointer-types
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|