aboutsummaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2009-03-24 19:11:23 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2009-03-24 19:11:23 +0000
commit4d55666226a1a32a778ec41abf7265abf57b8c4a (patch)
tree3539d1e0a86996e97b7aaa1846b59e945cb8bc09 /Mk
parent9d7f5e7aa1ccf406869750a09b9a7c49547dc190 (diff)
downloadports-4d55666226a1a32a778ec41abf7265abf57b8c4a.tar.gz
ports-4d55666226a1a32a778ec41abf7265abf57b8c4a.zip
Notes
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.cmake.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/Mk/bsd.cmake.mk b/Mk/bsd.cmake.mk
index 5fcd8cf2b617..ba5c583c122d 100644
--- a/Mk/bsd.cmake.mk
+++ b/Mk/bsd.cmake.mk
@@ -48,7 +48,8 @@ CMAKE_ARGS+= -DCMAKE_C_COMPILER:STRING="${CC}" \
-DCMAKE_C_FLAGS:STRING="${CFLAGS}" \
-DCMAKE_CXX_FLAGS:STRING="${CXXFLAGS}" \
-DCMAKE_INSTALL_PREFIX:PATH="${CMAKE_INSTALL_PREFIX}" \
- -DCMAKE_BUILD_TYPE:STRING="${CMAKE_BUILD_TYPE}"
+ -DCMAKE_BUILD_TYPE:STRING="${CMAKE_BUILD_TYPE}" \
+ -DTHREADS_HAVE_PTHREAD_ARG:BOOL=YES
#
# Default build type and sourcedir
@@ -73,7 +74,7 @@ CMAKE_ARGS+= -DCMAKE_THREAD_LIBS:STRING="${PTHREAD_LIBS}" \
# Strip binaries
#
.if !defined(WITH_DEBUG)
-CMAKE_ARGS+= -DCMAKE_INSTALL_DO_STRIP:BOOL=ON
+INSTALL_TARGET?= install/strip
.endif
#