aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authormakc <makc@FreeBSD.org>2013-12-22 22:04:37 +0800
committermakc <makc@FreeBSD.org>2013-12-22 22:04:37 +0800
commit77876118a432295396751ea883bf8405f9aaa39d (patch)
tree8c914b166145a48d216ed9cd9496f9746a849456 /Mk
parent1385cc198ede575d8e311b6cd59a4aec5a89d8c9 (diff)
downloadfreebsd-ports-gnome-77876118a432295396751ea883bf8405f9aaa39d.tar.gz
freebsd-ports-gnome-77876118a432295396751ea883bf8405f9aaa39d.tar.zst
freebsd-ports-gnome-77876118a432295396751ea883bf8405f9aaa39d.zip
- Don't remove rpath from binaries during install [1]
- Remove outdated comment PR: ports/176901 [1] Submitted by: amdmi3, avg Exp-run by: bdrewery
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