Depend on release clang. Even 2.9 is sufficient so we don't need to

make people drag in -devel.

Someone ought to own this and I own most of the depends so grab it.

Feature safe:	yes
This commit is contained in:
Brooks Davis 2011-12-05 17:25:35 +00:00
parent d472a4c0c8
commit f11a039d00
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=286933

View file

@ -7,10 +7,11 @@
PORTNAME= libdispatch
PORTVERSION= 210
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ftp://ftp.SpringDaemons.com/soft/
MAINTAINER= ports@FreeBSD.org
MAINTAINER= brooks@FreeBSD.org
COMMENT= Grand Central Dispatch API support library
USE_AUTOTOOLS= aclocal autoconf
@ -93,9 +94,9 @@ BROKEN= Does not link on sparc64-9
.if !defined(WITHOUT_CLANG)
. if ${OSVERSION} < 900024
BUILD_DEPENDS+= clang:${PORTSDIR}/lang/clang-devel \
BUILD_DEPENDS+= clang:${PORTSDIR}/lang/clang \
${LOCALBASE}/lib/libBlocksRuntime.so:${PORTSDIR}/devel/compiler-rt
RUN_DEPENDS+= clang:${PORTSDIR}/lang/clang-devel \
RUN_DEPENDS+= clang:${PORTSDIR}/lang/clang \
${LOCALBASE}/lib/libBlocksRuntime.so:${PORTSDIR}/devel/compiler-rt
CONFIGURE_ARGS+= --with-blocks-runtime=${LOCALBASE}/lib
CONFIGURE_ENV+= CC="${LOCALBASE}/bin/clang" CPPFLAGS="-I${LOCALBASE}/include"