aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorstas <stas@FreeBSD.org>2011-08-21 16:03:09 +0800
committerstas <stas@FreeBSD.org>2011-08-21 16:03:09 +0800
commitd2333f2bee9c6aa250b6941caddbf067d15598d3 (patch)
tree2ea0c071ea839f2da6a9ea8a594ef34b991ab44a /devel
parentae8e330e17f00811ece3e9ee927d69ea5b5c661d (diff)
downloadfreebsd-ports-gnome-d2333f2bee9c6aa250b6941caddbf067d15598d3.tar.gz
freebsd-ports-gnome-d2333f2bee9c6aa250b6941caddbf067d15598d3.tar.zst
freebsd-ports-gnome-d2333f2bee9c6aa250b6941caddbf067d15598d3.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>
Diffstat (limited to 'devel')
-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