summaryrefslogtreecommitdiff
path: root/mk/configure
diff options
context:
space:
mode:
authormarkd <markd>2008-09-13 11:09:58 +0000
committermarkd <markd>2008-09-13 11:09:58 +0000
commitdce223cf32d538503384b58b4b1832e9425cfe04 (patch)
treec4ced996b490b8c5ffe29d26ff7df46c03ba6ae3 /mk/configure
parent558bfff8d14573db57d60e75e2ad7e2ed7420b1f (diff)
downloadpkgsrc-dce223cf32d538503384b58b4b1832e9425cfe04.tar.gz
Tell cmake not to muck with rpath's as it seems to interact badly with
pkgsrc.
Diffstat (limited to 'mk/configure')
-rw-r--r--mk/configure/cmake.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/configure/cmake.mk b/mk/configure/cmake.mk
index 7bae31f4719..5fc41977aa0 100644
--- a/mk/configure/cmake.mk
+++ b/mk/configure/cmake.mk
@@ -1,4 +1,4 @@
-# $NetBSD: cmake.mk,v 1.5 2008/02/13 09:13:31 rillig Exp $
+# $NetBSD: cmake.mk,v 1.6 2008/09/13 11:09:58 markd Exp $
#
# This file handles packages that use CMake as their primary build
# system. For more information about CMake, see http://www.cmake.org/.
@@ -20,6 +20,7 @@ _CMAKE_DIR= ${BUILDLINK_DIR}/cmake-Modules
CMAKE_ARGS+= -DCMAKE_INSTALL_PREFIX:PATH=${PREFIX}
CMAKE_ARGS+= -DCMAKE_MODULE_PATH:PATH=${_CMAKE_DIR}
+CMAKE_ARGS+= -DCMAKE_SKIP_RPATH:BOOL=TRUE
CMAKE_MODULE_PATH_OVERRIDE+= CMakeLists.txt