aboutsummaryrefslogtreecommitdiff
path: root/devel/libdispatch
diff options
context:
space:
mode:
authorStanislav Sedov <stas@FreeBSD.org>2011-08-21 08:03:09 +0000
committerStanislav Sedov <stas@FreeBSD.org>2011-08-21 08:03:09 +0000
commitf17498413159c268d3b39a4b0c58eb4862fe2f58 (patch)
treecfd36bc506122af0f6806c6aa6fc092346043da5 /devel/libdispatch
parent343fcd32a03189fd5ef1dd1a5c7c155574cc5433 (diff)
downloadports-f17498413159c268d3b39a4b0c58eb4862fe2f58.tar.gz
ports-f17498413159c268d3b39a4b0c58eb4862fe2f58.zip
- Force PIC support in configure, so the check will pass on broken
compiler/linker combinations as well. PR: ports/155157 Submitted by: Pan Tsu <inyaoo@gmail.com>
Notes
Notes: svn path=/head/; revision=280113
Diffstat (limited to 'devel/libdispatch')
-rw-r--r--devel/libdispatch/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/devel/libdispatch/Makefile b/devel/libdispatch/Makefile
index c31f1e08b0ab..57d96f2d8663 100644
--- a/devel/libdispatch/Makefile
+++ b/devel/libdispatch/Makefile
@@ -17,6 +17,8 @@ COMMENT= Grand Central Dispatch API support library
GNU_CONFIGURE= yes
USE_BZIP2= yes
USE_LDCONFIG= yes
+# This is needed because PIC support check in autoconf could fail for clang otherwise.
+CONFIGURE_ENV= lt_cv_prog_compiler_pic_works=yes
OPTIONS= CLANG "Build with LLVM/Clang (required for blocks support)" on