aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2011-09-28 04:40:35 +0800
committerpav <pav@FreeBSD.org>2011-09-28 04:40:35 +0800
commitf8fdfeb5e77a463d3d5d1d2e803535eb8ad67594 (patch)
tree16d90d9afe21b2ec9c6e85bcb273287c80d1f22c /devel
parent539b8bd6b72c010cf3cbdd1f0bf930e3cc2d5a2c (diff)
downloadfreebsd-ports-gnome-f8fdfeb5e77a463d3d5d1d2e803535eb8ad67594.tar.gz
freebsd-ports-gnome-f8fdfeb5e77a463d3d5d1d2e803535eb8ad67594.tar.zst
freebsd-ports-gnome-f8fdfeb5e77a463d3d5d1d2e803535eb8ad67594.zip
- Unbreak, fix depobj, fix configure
PR: ports/160800 (partially) Submitted by: Oleksii Tsai <oleksii.tsai@googlemail.com>
Diffstat (limited to 'devel')
-rw-r--r--devel/libdispatch/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/devel/libdispatch/Makefile b/devel/libdispatch/Makefile
index 93c222486661..28e4d5eef131 100644
--- a/devel/libdispatch/Makefile
+++ b/devel/libdispatch/Makefile
@@ -13,8 +13,6 @@ MASTER_SITES= ftp://ftp.SpringDaemons.com/soft/
MAINTAINER= stas@FreeBSD.org
COMMENT= Grand Central Dispatch API support library
-BROKEN= unsatisfiable dependency object
-
USE_AUTOTOOLS= aclocal autoconf
ACLOCAL_ARGS= -Im4
GNU_CONFIGURE= yes
@@ -87,12 +85,12 @@ IGNORE= is not supported on this OS version
.if !defined(WITHOUT_CLANG)
. if ${OSVERSION} < 900024
-BUILD_DEPENDS+= clang:${PORTSDIR}/devel/llvm-devel \
+BUILD_DEPENDS+= clang:${PORTSDIR}/lang/clang-devel \
${LOCALBASE}/lib/libBlocksRuntime.so:${PORTSDIR}/devel/compiler-rt
-RUN_DEPENDS+= clang:${PORTSDIR}/devel/llvm-devel \
+RUN_DEPENDS+= clang:${PORTSDIR}/lang/clang-devel \
${LOCALBASE}/lib/libBlocksRuntime.so:${PORTSDIR}/devel/compiler-rt
CONFIGURE_ARGS+= --with-blocks-runtime=${LOCALBASE}/lib
-CONFIGURE_ENV+= CC="${LOCALBASE}/clang"
+CONFIGURE_ENV+= CC="${LOCALBASE}/bin/clang" CPPFLAGS="-I${LOCALBASE}/include"
. else
CONFIGURE_ARGS+= --with-blocks-runtime=/usr/lib
CONFIGURE_ENV+= CC="/usr/bin/clang"