aboutsummaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2013-12-22 14:04:37 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2013-12-22 14:04:37 +0000
commitadc20be473f1bbcfaf229cf544972feb0acbccdc (patch)
tree8c914b166145a48d216ed9cd9496f9746a849456 /Mk
parent8ac11b29f859ef21a240e94143789f8edf487409 (diff)
downloadports-adc20be473f1bbcfaf229cf544972feb0acbccdc.tar.gz
ports-adc20be473f1bbcfaf229cf544972feb0acbccdc.zip
Notes
Diffstat (limited to 'Mk')
-rw-r--r--Mk/Uses/cmake.mk7
1 files changed, 2 insertions, 5 deletions
diff --git a/Mk/Uses/cmake.mk b/Mk/Uses/cmake.mk
index 46eeacab2bd5..0a251f87acdd 100644
--- a/Mk/Uses/cmake.mk
+++ b/Mk/Uses/cmake.mk
@@ -35,10 +35,6 @@
# Debug otherwise
# CMAKE_SOURCE_PATH - Path to the source directory
# Default: ${WRKSRC}
-#
-# Deprecated variables:
-# CMAKE_OUTSOURCE - Instruct to perform an out-of-source build.
-# Deprecated, use 'USES+= cmake:outsource' instead.
.if !defined(_INCLUDE_USES_CMAKE_MK)
_INCLUDE_USES_CMAKE_MK= yes
@@ -88,7 +84,8 @@ CMAKE_ARGS+= -DCMAKE_C_COMPILER:STRING="${CC}" \
-DCMAKE_SHARED_LINKER_FLAGS:STRING="${LDFLAGS}" \
-DCMAKE_INSTALL_PREFIX:PATH="${PREFIX}" \
-DCMAKE_BUILD_TYPE:STRING="${CMAKE_BUILD_TYPE}" \
- -DTHREADS_HAVE_PTHREAD_ARG:BOOL=YES
+ -DTHREADS_HAVE_PTHREAD_ARG:BOOL=YES \
+ -DCMAKE_INSTALL_RPATH_USE_LINK_PATH=YES
.if defined(BATCH) || defined(PACKAGE_BUILDING)
CMAKE_VERBOSE= yes