aboutsummaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorRaphael Kubo da Costa <rakuco@FreeBSD.org>2011-11-10 19:50:26 +0000
committerRaphael Kubo da Costa <rakuco@FreeBSD.org>2011-11-10 19:50:26 +0000
commit97931d0e38436fbffcb029f225d0bb42ed199b4a (patch)
treefd1146c0c8c47894b83164bd48b97370c5107f6d /Mk
parent77a60a24f4eb76f2e0b3e584df0700a07eecba7b (diff)
downloadports-97931d0e38436fbffcb029f225d0bb42ed199b4a.tar.gz
ports-97931d0e38436fbffcb029f225d0bb42ed199b4a.zip
Notes
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.cmake.mk14
1 files changed, 0 insertions, 14 deletions
diff --git a/Mk/bsd.cmake.mk b/Mk/bsd.cmake.mk
index 29d39d484402..ad4bf201847d 100644
--- a/Mk/bsd.cmake.mk
+++ b/Mk/bsd.cmake.mk
@@ -7,8 +7,6 @@
# Default: ${CONFIGURE_ENV}
# CMAKE_ARGS - Arguments passed to cmake
# Default: see below
-# CMAKE_USE_PTHREAD - Instruct cmake to use pthreads when compiling/linking
-# Default: not set
# CMAKE_BUILD_TYPE - Type of build (cmake predefined build types).
# Projects may have their own build profiles.
# CMake supports the following types: Debug,
@@ -89,18 +87,6 @@ INSTALL_TARGET?= install/strip
PLIST_SUB+= CMAKE_BUILD_TYPE="${CMAKE_BUILD_TYPE:L}"
#
-# Instruct cmake to compile/link with pthreads
-#
-.if defined(CMAKE_USE_PTHREAD)
-CFLAGS+= ${PTHREAD_CFLAGS}
-CXXFLAGS+= ${PTHREAD_CFLAGS}
-LDFLAGS+= ${PTHREAD_LIBS}
-
-CMAKE_ARGS+= -DCMAKE_THREAD_LIBS:STRING="${PTHREAD_LIBS}" \
- -DCMAKE_USE_PTHREADS:BOOL=ON
-.endif
-
-#
# Force makefile verbosity if needed
#
.if defined(CMAKE_VERBOSE) || defined(BATCH)