aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaphael Kubo da Costa <rakuco@FreeBSD.org>2011-11-14 03:26:46 +0000
committerRaphael Kubo da Costa <rakuco@FreeBSD.org>2011-11-14 03:26:46 +0000
commit6fd8cb78105b4e32ea7c6e0a9db599fdd27c24f3 (patch)
tree9ab77eb1499aeac9e5f505a1d9593ffaf58d7da6
parent5eeef2311f34b11cd14c114b8ab6aad7c9c28f0f (diff)
downloadports-6fd8cb78105b4e32ea7c6e0a9db599fdd27c24f3.tar.gz
ports-6fd8cb78105b4e32ea7c6e0a9db599fdd27c24f3.zip
Remove CMAKE_USE_PTHREAD from the ports using it.
This setting has not had any effect since r1.13 to bsd.cmake.mk, as it was only useful when we supported FreeBSD < 7. Approved by: avilla (mentor), portmgr (miwi) Feature safe: yes
Notes
Notes: svn path=/head/; revision=285744
-rw-r--r--audio/lmms/Makefile1
-rw-r--r--audio/openal-soft/Makefile1
-rw-r--r--audio/tepsonic/Makefile1
-rw-r--r--cad/gmsh/Makefile5
-rw-r--r--cad/kicad-devel/Makefile1
-rw-r--r--cad/qfsm/Makefile1
-rw-r--r--chinese/fqterm/Makefile1
-rw-r--r--chinese/ibus-chewing/Makefile1
-rw-r--r--comms/cutecom/Makefile1
-rw-r--r--databases/mydumper/Makefile1
-rw-r--r--databases/sqliteman/Makefile1
-rw-r--r--deskutils/chmsee/Makefile1
-rw-r--r--deskutils/libopensync-plugin-vformat-devel/Makefile1
-rw-r--r--deskutils/msynctool-devel/Makefile1
-rw-r--r--deskutils/q4wine/Makefile1
-rw-r--r--deskutils/qtm/Makefile1
-rw-r--r--devel/automoc4/Makefile1
-rw-r--r--devel/bullet/Makefile1
-rw-r--r--devel/libgit2/Makefile1
-rw-r--r--devel/libopensync/Makefile1
-rw-r--r--editors/yzis/Makefile1
-rw-r--r--games/freecell-solver/Makefile1
-rw-r--r--games/ksudoku/Makefile1
-rw-r--r--games/rigsofrods/Makefile1
-rw-r--r--games/violetland/Makefile1
-rw-r--r--graphics/aqsis/Makefile1
-rw-r--r--graphics/hugin/Makefile1
-rw-r--r--graphics/lprof-devel/Makefile1
-rw-r--r--graphics/nvidia-texture-tools/Makefile1
-rw-r--r--graphics/opengtl/Makefile1
-rw-r--r--graphics/qgis/Makefile1
-rw-r--r--graphics/yagf/Makefile6
-rw-r--r--irc/weechat-devel/Makefile1
-rw-r--r--irc/weechat/Makefile1
-rw-r--r--mail/spmfilter-spamassassin/Makefile4
-rw-r--r--mail/spmfilter/Makefile4
-rw-r--r--math/cgal/Makefile1
-rw-r--r--math/qtoctave/Makefile1
-rw-r--r--math/speedcrunch/Makefile1
-rw-r--r--math/vtk/Makefile1
-rw-r--r--math/vtk5/Makefile1
-rw-r--r--misc/katalog/Makefile1
-rw-r--r--multimedia/dvbcut/Makefile1
-rw-r--r--net-im/qutim-plugin-jabber/Makefile1
-rw-r--r--net-im/qutim/Makefile1
-rw-r--r--net-im/tapioca-qt/Makefile4
-rw-r--r--net-im/telepathy-qt/Makefile1
-rw-r--r--net-mgmt/vidalia/Makefile1
-rw-r--r--polish/kadu/Makefile1
-rw-r--r--print/scribus-devel/Makefile1
-rw-r--r--print/scribus/Makefile1
-rw-r--r--science/massxpert/Makefile8
-rw-r--r--security/nmapsi4/Makefile1
-rw-r--r--sysutils/kgtk/Makefile1
-rw-r--r--x11-fonts/fontmatrix/Makefile1
-rw-r--r--x11-wm/awesome/Makefile1
56 files changed, 3 insertions, 78 deletions
diff --git a/audio/lmms/Makefile b/audio/lmms/Makefile
index 12f61435f187..724e2251dea2 100644
--- a/audio/lmms/Makefile
+++ b/audio/lmms/Makefile
@@ -39,7 +39,6 @@ USE_QT_VER= 4
QT_COMPONENTS= corelib gui xml moc_build uic_build rcc_build \
qmake_build
USE_CMAKE= yes
-CMAKE_USE_PTHREAD= yes
CMAKE_ARGS= -DWANT_ALSA:BOOL=OFF \
-DWANT_CALF:BOOL=OFF \
-DWANT_CAPS:BOOL=OFF \
diff --git a/audio/openal-soft/Makefile b/audio/openal-soft/Makefile
index b76854dcfed3..8c490d1f43a5 100644
--- a/audio/openal-soft/Makefile
+++ b/audio/openal-soft/Makefile
@@ -18,7 +18,6 @@ CONFLICTS= openal-200[0-9]*
USE_BZIP2= yes
USE_CMAKE= yes
USE_LDCONFIG= yes
-CMAKE_USE_PTHREAD= yes
CMAKE_ARGS+= -DALSA:BOOL=OFF -DPORTAUDIO:BOOL=OFF -DSOLARIS:BOOL=OFF \
-DDSOUND:BOOL=OFF -DALSOFT_CONFIG:BOOL=ON
diff --git a/audio/tepsonic/Makefile b/audio/tepsonic/Makefile
index 10b997ffb8ae..dcd5c6f3442a 100644
--- a/audio/tepsonic/Makefile
+++ b/audio/tepsonic/Makefile
@@ -20,7 +20,6 @@ USE_CMAKE= yes
USE_QT_VER= 4
USE_LDCONFIG= yes
INSTALLS_ICONS= yes
-CMAKE_USE_PTHREAD= yes
QT_COMPONENTS= gui xml sql phonon network linguist_build \
rcc_build qmake_build uic_build moc_build
diff --git a/cad/gmsh/Makefile b/cad/gmsh/Makefile
index fee0d4590c0a..8f4689fc4b47 100644
--- a/cad/gmsh/Makefile
+++ b/cad/gmsh/Makefile
@@ -37,8 +37,7 @@ ALL_TARGET= all
MAN1= gmsh.1
CMAKE_ARGS+= -DCMAKE_SKIP_RPATH:BOOL=YES \
- -DCMAKE_VERBOSE_MAKEFILE:BOOL=YES \
- -DCMAKE_USE_PTHREADS:BOOL=YES
+ -DCMAKE_VERBOSE_MAKEFILE:BOOL=YES
.if !defined(WITHOUT_STATIC_LIB)
ALL_TARGET+= lib
@@ -122,8 +121,6 @@ PKGMESSAGE= ${WRKDIR}/pkg-message
.include <bsd.port.pre.mk>
-CMAKE_USE_PTHREAD= yes
-
pre-everything::
@${ECHO_MSG} ""
.if !defined(WITHOUT_TETGEN)
diff --git a/cad/kicad-devel/Makefile b/cad/kicad-devel/Makefile
index 14022de08f39..87554d1b742c 100644
--- a/cad/kicad-devel/Makefile
+++ b/cad/kicad-devel/Makefile
@@ -47,7 +47,6 @@ CMAKE_ARGS= -DLOCALBASE="${LOCALBASE}" \
-DKICAD_TESTING_VERSION=ON \
-DCMAKE_INCLUDE_PATH="${LOCALBASE}/include" \
-DwxWidgets_CONFIG_EXECUTABLE="${WX_CONFIG}"
-CMAKE_USE_PTHREAD= yes
MAKE_JOBS_SAFE= yes
diff --git a/cad/qfsm/Makefile b/cad/qfsm/Makefile
index dd3ad70fd301..e1f1f19862f3 100644
--- a/cad/qfsm/Makefile
+++ b/cad/qfsm/Makefile
@@ -24,7 +24,6 @@ QT_COMPONENTS= corelib gui qt3support svg xml \
uic_build uic3_build rcc_build
USE_GNOME= desktopfileutils
USE_CMAKE= yes
-CMAKE_USE_PTHREAD= yes
INSTALLS_ICONS= yes
.if !defined(WITH_DEBUG)
diff --git a/chinese/fqterm/Makefile b/chinese/fqterm/Makefile
index 74b8eea07693..f0cb430f1519 100644
--- a/chinese/fqterm/Makefile
+++ b/chinese/fqterm/Makefile
@@ -30,7 +30,6 @@ HAS_CONFIGURE= yes
USE_DOS2UNIX= src/ui/popwidget.cpp
USE_GMAKE= yes
USE_CMAKE= yes
-CMAKE_USE_PTHREAD= yes
CMAKE_INSTALL_PREFIX= ${PREFIX}
CMAKE_ARGS= -Wno-dev
diff --git a/chinese/ibus-chewing/Makefile b/chinese/ibus-chewing/Makefile
index 51f113a2c373..dca3afc08914 100644
--- a/chinese/ibus-chewing/Makefile
+++ b/chinese/ibus-chewing/Makefile
@@ -20,7 +20,6 @@ RUN_DEPENDS= ibus-daemon:${PORTSDIR}/textproc/ibus
LIB_DEPENDS= chewing.3:${PORTSDIR}/chinese/libchewing
CMAKE_ARGS+= -DSYSCONF_INSTALL_DIR=${PREFIX}/etc
-CMAKE_USE_PTHREAD=yes
GCONF_SCHEMAS= ${PORTNAME}.schemas
USE_CMAKE= yes
USE_GETTEXT= yes
diff --git a/comms/cutecom/Makefile b/comms/cutecom/Makefile
index cb06f0faa1f8..1638382ff132 100644
--- a/comms/cutecom/Makefile
+++ b/comms/cutecom/Makefile
@@ -19,7 +19,6 @@ RUN_DEPENDS= lsz:${PORTSDIR}/comms/lrzsz
USE_QT_VER= 4
QT_COMPONENTS= qt3support qmake_build moc_build rcc_build uic_build
USE_CMAKE= yes
-CMAKE_USE_PTHREAD= yes
MAN1= cutecom.1
diff --git a/databases/mydumper/Makefile b/databases/mydumper/Makefile
index cc5a8fa27d3e..33cbe534000a 100644
--- a/databases/mydumper/Makefile
+++ b/databases/mydumper/Makefile
@@ -25,7 +25,6 @@ PLIST_FILES= sbin/mydumper
USE_GNOME= glib20
USE_MYSQL= yes
USE_CMAKE= yes
-CMAKE_USE_PTHREAD= yes
post-patch:
@${REINPLACE_CMD} -e 's|-Werror||' ${WRKSRC}/CMakeLists.txt
diff --git a/databases/sqliteman/Makefile b/databases/sqliteman/Makefile
index d07fda6e2fb6..36ac80bbd1e3 100644
--- a/databases/sqliteman/Makefile
+++ b/databases/sqliteman/Makefile
@@ -16,7 +16,6 @@ COMMENT= Admin's GUI tool for Sqlite3
LIB_DEPENDS= qscintilla2.5:${PORTSDIR}/devel/qscintilla2
USE_CMAKE= yes
-CMAKE_USE_PTHREAD= yes
USE_QT_VER= 4
USE_SQLITE= yes
CMAKE_ENV+= QMAKESPEC=${QMAKESPEC}
diff --git a/deskutils/chmsee/Makefile b/deskutils/chmsee/Makefile
index ce78ea5cbc1f..83ca8cfe36ca 100644
--- a/deskutils/chmsee/Makefile
+++ b/deskutils/chmsee/Makefile
@@ -23,7 +23,6 @@ USE_GNOME= gnomehier libglade2
USE_GECKO= libxul
USE_GETTEXT= yes
USE_CMAKE= yes
-CMAKE_USE_PTHREAD= yes
CMAKE_ARGS= -DCMAKE_INSTALL_RPATH_USE_LINK_PATH:BOOL=TRUE
INSTALLS_ICONS= yes
diff --git a/deskutils/libopensync-plugin-vformat-devel/Makefile b/deskutils/libopensync-plugin-vformat-devel/Makefile
index 9f2348b3e64a..681af2ee9e12 100644
--- a/deskutils/libopensync-plugin-vformat-devel/Makefile
+++ b/deskutils/libopensync-plugin-vformat-devel/Makefile
@@ -20,7 +20,6 @@ LIB_DEPENDS= opensync.1:${PORTSDIR}/devel/libopensync
USE_BZIP2= yes
USE_ICONV= yes
USE_CMAKE= yes
-CMAKE_USE_PTHREAD= yes
CMAKE_ARGS+= -Wno-dev
CFLAGS+= "-I${LOCALBASE}/include"
diff --git a/deskutils/msynctool-devel/Makefile b/deskutils/msynctool-devel/Makefile
index 0830a12ab130..75bd03fccb3a 100644
--- a/deskutils/msynctool-devel/Makefile
+++ b/deskutils/msynctool-devel/Makefile
@@ -21,7 +21,6 @@ CONFLICTS= msynctool-0.2*
USE_BZIP2= yes
USE_CMAKE= yes
-CMAKE_USE_PTHREAD= yes
PLIST_FILES= bin/${PORTNAME}
diff --git a/deskutils/q4wine/Makefile b/deskutils/q4wine/Makefile
index 110fc64fdaa5..3683e01d54e5 100644
--- a/deskutils/q4wine/Makefile
+++ b/deskutils/q4wine/Makefile
@@ -29,7 +29,6 @@ ONLY_FOR_ARCHS_REASON= depends on wine which is only available for i386
MAN1= q4wine-cli.1 q4wine-helper.1 q4wine.1
USE_CMAKE= yes
-CMAKE_USE_PTHREAD= yes
CMAKE_ARGS+= -DMANPAGE_ENTRY_PATH=${MANPREFIX}/man/
OPTIONS= DBUS "Enable DBus notification support" on
diff --git a/deskutils/qtm/Makefile b/deskutils/qtm/Makefile
index 69a514709775..c43baf74880b 100644
--- a/deskutils/qtm/Makefile
+++ b/deskutils/qtm/Makefile
@@ -22,7 +22,6 @@ QT_COMPONENTS= corelib dbus gui network xml \
moc_build qmake_build rcc_build uic_build
USE_OPENSSL= yes
USE_CMAKE= yes
-CMAKE_USE_PTHREAD= yes
CMAKE_ARGS= -DCMAKE_CXX_FLAGS_RELEASE:STRING="-DNDEBUG" \
-DMANPAGE_DIRECTORY:STRING="${MANPREFIX}/man/man1" \
-DMARKDOWN_LOCATION:STRING="${LOCALBASE}/bin/markdown"
diff --git a/devel/automoc4/Makefile b/devel/automoc4/Makefile
index 72d22a810252..9203908a3193 100644
--- a/devel/automoc4/Makefile
+++ b/devel/automoc4/Makefile
@@ -20,7 +20,6 @@ USE_ICONV= yes
USE_QT_VER= 4
QT_COMPONENTS= corelib qmake_build moc rcc_build uic_build
USE_CMAKE= yes
-CMAKE_USE_PTHREAD= yes
MAKE_JOBS_UNSAFE= yes
.include <bsd.port.mk>
diff --git a/devel/bullet/Makefile b/devel/bullet/Makefile
index 3145e6528636..dcbe9a64f034 100644
--- a/devel/bullet/Makefile
+++ b/devel/bullet/Makefile
@@ -19,7 +19,6 @@ USE_XORG= x11
MAKE_JOBS_SAFE= yes
USE_CMAKE= yes
-CMAKE_USE_PTHREAD= yes
CPPFLAGS+= -I${LOCALBASE}/include
diff --git a/devel/libgit2/Makefile b/devel/libgit2/Makefile
index 67273218edd1..4872ada4b851 100644
--- a/devel/libgit2/Makefile
+++ b/devel/libgit2/Makefile
@@ -17,7 +17,6 @@ LICENSE= GPLv2
USE_LDCONFIG= yes
USE_CMAKE= yes
-CMAKE_USE_PTHREAD= yes
MAKE_JOBS_SAFE= yes
diff --git a/devel/libopensync/Makefile b/devel/libopensync/Makefile
index 0513a16e9003..3d205fcb84c3 100644
--- a/devel/libopensync/Makefile
+++ b/devel/libopensync/Makefile
@@ -23,7 +23,6 @@ CONFLICTS= libopensync-0.22*
USE_BZIP2= yes
USE_CMAKE= yes
CMAKE_ARGS+= -Wno-dev
-CMAKE_USE_PTHREAD= yes
USE_GNOME= glib20 libxml2
USE_PYTHON= yes
USE_LDCONFIG= yes
diff --git a/editors/yzis/Makefile b/editors/yzis/Makefile
index 2e63486c4730..974ffd6fd789 100644
--- a/editors/yzis/Makefile
+++ b/editors/yzis/Makefile
@@ -29,7 +29,6 @@ QT_COMPONENTS= qtestlib qmake_build rcc_build uic_build moc_build gui xml
USE_PERL5= yes
USE_CMAKE= yes
-CMAKE_USE_PTHREAD= yes
CMAKE_ARGS+= -DLOCALBASE:STRING="${LOCALBASE}" \
-DLUA_INCDIR:STRING="${LUA_INCDIR}" \
-DLUA_LIBDIR:STRING="${LUA_LIBDIR}" \
diff --git a/games/freecell-solver/Makefile b/games/freecell-solver/Makefile
index a645a656b637..9e7a84bcbad8 100644
--- a/games/freecell-solver/Makefile
+++ b/games/freecell-solver/Makefile
@@ -21,7 +21,6 @@ LICENSE_FILE= ${WRKSRC}/COPYING.txt
USE_BZIP2= yes
USE_PERL5_BUILD= yes
USE_CMAKE= yes
-CMAKE_USE_PTHREAD= yes
USE_LDCONFIG= yes
MAKE_JOBS_SAFE= yes
diff --git a/games/ksudoku/Makefile b/games/ksudoku/Makefile
index 6b79705dbf42..8c782121cf59 100644
--- a/games/ksudoku/Makefile
+++ b/games/ksudoku/Makefile
@@ -18,6 +18,5 @@ USE_KDELIBS_VER=3
USE_GMAKE= yes
USE_GL= yes
USE_CMAKE= yes
-CMAKE_USE_PTHREAD= yes
.include <bsd.port.mk>
diff --git a/games/rigsofrods/Makefile b/games/rigsofrods/Makefile
index 68471728c729..7dc8a73ac844 100644
--- a/games/rigsofrods/Makefile
+++ b/games/rigsofrods/Makefile
@@ -45,7 +45,6 @@ CMAKE_ARGS= -DROR_BUILD_HYDRAX=TRUE \
-DOGRE_BUILD_PLUGIN_CG=FALSE \
-DLOCALBASE="${LOCALBASE}" \
-DwxWidgets_CONFIG_EXECUTABLE="${WX_CONFIG}"
-CMAKE_USE_PTHREAD= yes
PORTDOCS= *
diff --git a/games/violetland/Makefile b/games/violetland/Makefile
index 44c49b42d4cd..78dabab183bd 100644
--- a/games/violetland/Makefile
+++ b/games/violetland/Makefile
@@ -23,7 +23,6 @@ USE_GL= gl glu
MAKE_JOBS_SAFE= yes
USE_CMAKE= yes
USE_GETTEXT= yes
-CMAKE_USE_PTHREAD=yes
CMAKE_ARGS= -DDATA_INSTALL_DIR="${DATADIR}"
WRKSRC= ${WRKDIR}/${PORTNAME}-v${PORTVERSION}
diff --git a/graphics/aqsis/Makefile b/graphics/aqsis/Makefile
index d8eea3e8ff25..a29dda829d06 100644
--- a/graphics/aqsis/Makefile
+++ b/graphics/aqsis/Makefile
@@ -27,7 +27,6 @@ LDFLAGS+= -L${LOCALBASE}/lib
USE_LDCONFIG= yes
USE_CMAKE= yes
-CMAKE_USE_PTHREAD= yes
CMAKE_OUTSOURCE= yes
INSTALLS_ICONS= yes
diff --git a/graphics/hugin/Makefile b/graphics/hugin/Makefile
index 7ba7720ad30d..0566d1324791 100644
--- a/graphics/hugin/Makefile
+++ b/graphics/hugin/Makefile
@@ -38,7 +38,6 @@ USE_CMAKE= yes
CMAKE_ARGS= -DwxWidgets_CONFIG_EXECUTABLE=${WX_CONFIG}
CMAKE_VERBOSE= yes
-CMAKE_USE_PTHREAD= yes
USE_WX= 2.8+
WX_UNICODE= yes
diff --git a/graphics/lprof-devel/Makefile b/graphics/lprof-devel/Makefile
index 892ceb8398e6..a6eeb0c422dd 100644
--- a/graphics/lprof-devel/Makefile
+++ b/graphics/lprof-devel/Makefile
@@ -29,7 +29,6 @@ USE_CMAKE= yes
MAKE_JOBS_SAFE= yes
CMAKE_ARGS= -DQTTRANS_LRELEASE_EXECUTABLE="${LOCALBASE}/bin/lrelease-qt4"
-CMAKE_USE_PTHREAD= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
diff --git a/graphics/nvidia-texture-tools/Makefile b/graphics/nvidia-texture-tools/Makefile
index c91c30aaebf0..5f7e02ca0e4f 100644
--- a/graphics/nvidia-texture-tools/Makefile
+++ b/graphics/nvidia-texture-tools/Makefile
@@ -20,7 +20,6 @@ LIB_DEPENDS= png.6:${PORTSDIR}/graphics/png \
IlmImf.6:${PORTSDIR}/graphics/OpenEXR
USE_CMAKE= yes
-CMAKE_USE_PTHREAD=yes
CMAKE_ARGS= -DNVTT_SHARED=TRUE
MAKE_JOBS_SAFE= yes
diff --git a/graphics/opengtl/Makefile b/graphics/opengtl/Makefile
index 982b10ac490a..ddf801eb758f 100644
--- a/graphics/opengtl/Makefile
+++ b/graphics/opengtl/Makefile
@@ -25,7 +25,6 @@ USE_PERL5= yes
MAKE_JOBS_SAFE= yes
USE_CMAKE= yes
USE_LDCONFIG= yes
-CMAKE_USE_PTHREAD= yes
OPTIONS= SHIVA "Install filters and generators" on
diff --git a/graphics/qgis/Makefile b/graphics/qgis/Makefile
index d13dd2d7b384..f53ac8480a7c 100644
--- a/graphics/qgis/Makefile
+++ b/graphics/qgis/Makefile
@@ -26,7 +26,6 @@ USE_BISON= build
USE_CMAKE= yes
USE_QT_VER= 4
USE_SQLITE= yes
-CMAKE_USE_PTHREAD= yes
QT_COMPONENTS= gui svg xml network sql designer linguist_build \
qmake_build moc_build rcc_build uic_build
diff --git a/graphics/yagf/Makefile b/graphics/yagf/Makefile
index f91c690c0b49..94f80f8a8bcd 100644
--- a/graphics/yagf/Makefile
+++ b/graphics/yagf/Makefile
@@ -29,8 +29,4 @@ QT_COMPONENTS= corelib gui imageformats linguist_build \
CPPFLAGS+= -I${LOCALBASE}/include
CFLAGS+= -I${LOCALBASE}/include
-.include <bsd.port.pre.mk>
-.if ${OSVERSION}<700042
-CMAKE_USE_PTHREAD= yes
-.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/irc/weechat-devel/Makefile b/irc/weechat-devel/Makefile
index e6ecd3c49267..64f668edb1fa 100644
--- a/irc/weechat-devel/Makefile
+++ b/irc/weechat-devel/Makefile
@@ -24,7 +24,6 @@ USE_LDCONFIG= yes
USE_NCURSES= yes
WITH_NCURSES_BASE= yes
USE_CMAKE= yes
-CMAKE_USE_PTHREAD= yes
CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib
WANT_PERL= yes
diff --git a/irc/weechat/Makefile b/irc/weechat/Makefile
index a311afa00509..ec5440e37a78 100644
--- a/irc/weechat/Makefile
+++ b/irc/weechat/Makefile
@@ -22,7 +22,6 @@ USE_LDCONFIG= yes
USE_NCURSES= yes
WITH_NCURSES_BASE= yes
USE_CMAKE= yes
-CMAKE_USE_PTHREAD= yes
CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib
WANT_PERL= yes
diff --git a/mail/spmfilter-spamassassin/Makefile b/mail/spmfilter-spamassassin/Makefile
index 20944722afd5..cab3c523d223 100644
--- a/mail/spmfilter-spamassassin/Makefile
+++ b/mail/spmfilter-spamassassin/Makefile
@@ -27,10 +27,6 @@ OPTIONS= DEBUG "Enable Debugging" off
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 700000
-CMAKE_USE_PTHREAD= yes
-.endif
-
.if defined(WITH_DEBUG)
CMAKE_ARGS+= -DENABLE_DEBUG=TRUE
.endif
diff --git a/mail/spmfilter/Makefile b/mail/spmfilter/Makefile
index 784a5e237163..ca10d38b74fc 100644
--- a/mail/spmfilter/Makefile
+++ b/mail/spmfilter/Makefile
@@ -41,10 +41,6 @@ _REQUIRE= LOGIN
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 700000
-CMAKE_USE_PTHREAD= yes
-.endif
-
.if !defined(WITH_DB4) || defined(WITHOUT_DB4)
CMAKE_ARGS+= -DWITHOUT_DB4=TRUE
.else
diff --git a/math/cgal/Makefile b/math/cgal/Makefile
index 85ee5f78bc8c..74cd1b32cdd7 100644
--- a/math/cgal/Makefile
+++ b/math/cgal/Makefile
@@ -31,7 +31,6 @@ FETCH_ARGS= -pRr
USE_LDCONFIG= yes
USE_CMAKE= yes
USE_QT_VER= 4
-CMAKE_USE_PTHREAD= yes
QT_COMPONENTS= corelib opengl qmake_build gui moc_build rcc_build
HAS_CONFIGURE= yes
DOCSDIR= ${PREFIX}/share/doc/CGAL-3.4
diff --git a/math/qtoctave/Makefile b/math/qtoctave/Makefile
index 5d078570e6ce..92eb75f92bc6 100644
--- a/math/qtoctave/Makefile
+++ b/math/qtoctave/Makefile
@@ -21,6 +21,5 @@ QT_COMPONENTS= designer gui network script svg xml \
qmake_build moc_build rcc_build uic_build
USE_CMAKE= yes
CMAKE_ARGS+= -DWITH_UseRPMTools:Bool=Off
-CMAKE_USE_PTHREAD= yes
.include <bsd.port.mk>
diff --git a/math/speedcrunch/Makefile b/math/speedcrunch/Makefile
index 5dc278a6b6d3..ef5b56ff2322 100644
--- a/math/speedcrunch/Makefile
+++ b/math/speedcrunch/Makefile
@@ -18,7 +18,6 @@ USE_QT_VER= 4
QT_COMPONENTS= qmake_build moc_build rcc_build uic_build gui xml
USE_CMAKE= yes
CMAKE_SOURCE_PATH= src
-CMAKE_USE_PTHREAD= yes
MAKE_JOBS_SAFE= yes
diff --git a/math/vtk/Makefile b/math/vtk/Makefile
index 0236c1a7c433..22207bffadfd 100644
--- a/math/vtk/Makefile
+++ b/math/vtk/Makefile
@@ -70,7 +70,6 @@ CMAKE_DEFS+= -DCMAKE_INSTALL_PREFIX:PATH=${PREFIX} \
-DCMAKE_SHARED_LINKER_FLAGS:STRING="${LINKERFLAGS}" \
-DCMAKE_EXE_LINKER_FLAGS:STRING="${LINKERFLAGS} ${PTHREAD_LIBS}" \
-DCMAKE_THREAD_LIBS:STRING="${PTHREAD_LIBS}"\
- -DCMAKE_USE_PTHREADS:BOOL=ON \
-DCMAKE_C_COMPILER:STRING='${CC}' \
-DCMAKE_CXX_COMPILER:STRING=${CXX} \
-DCMAKE_C_FLAGS:STRING="${CFLAGS} ${PTHREAD_CFLAGS}" \
diff --git a/math/vtk5/Makefile b/math/vtk5/Makefile
index 313580753908..cbfa36188f4f 100644
--- a/math/vtk5/Makefile
+++ b/math/vtk5/Makefile
@@ -50,7 +50,6 @@ PLIST_SUB+= VER1="${PORTVERSION}" \
MAN3= vtk.3
PORTDOCS= README.html
-CMAKE_USE_PTHREAD= yes
CMAKE_OUTSOURCE= yes
CMAKE_ARGS+= -DBUILD_DOCUMENTATION:BOOL=ON \
diff --git a/misc/katalog/Makefile b/misc/katalog/Makefile
index 43880e60b397..e22d7494756e 100644
--- a/misc/katalog/Makefile
+++ b/misc/katalog/Makefile
@@ -21,7 +21,6 @@ COMMENT= CD organizer for KDE
USE_KDEBASE_VER= 3
USE_SQLITE= yes
USE_CMAKE= yes
-CMAKE_USE_PTHREAD= yes
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local/|${LOCALBASE}/|g' \
diff --git a/multimedia/dvbcut/Makefile b/multimedia/dvbcut/Makefile
index 80c76ee9c287..cc59bb6176e9 100644
--- a/multimedia/dvbcut/Makefile
+++ b/multimedia/dvbcut/Makefile
@@ -45,7 +45,6 @@ QTCPPFLAGS+= ${PTHREAD_CFLAGS}
QTCFGLIBS+= ${PTHREAD_LIBS}
.else
USE_CMAKE= yes
-CMAKE_USE_PTHREAD= yes
QT_COMPONENTS= gui qt3support xml moc_build qmake_build rcc_build uic_build
CXXFLAGS+= -I${PREFIX}/include \
-I${PREFIX}/include/libavcodec \
diff --git a/net-im/qutim-plugin-jabber/Makefile b/net-im/qutim-plugin-jabber/Makefile
index 8107f4d9bc0f..1fbe1e910ac5 100644
--- a/net-im/qutim-plugin-jabber/Makefile
+++ b/net-im/qutim-plugin-jabber/Makefile
@@ -35,7 +35,6 @@ QT_COMPONENTS= gui \
CXXFLAGS+= -L${LOCALBASE}/lib
USE_CMAKE= yes
-CMAKE_USE_PTHREAD= yes
WRKSRC= ${WRKDIR}/jabber
diff --git a/net-im/qutim/Makefile b/net-im/qutim/Makefile
index ec6bd5dfef9a..9b7182d46560 100644
--- a/net-im/qutim/Makefile
+++ b/net-im/qutim/Makefile
@@ -34,7 +34,6 @@ USE_XORG= xscrnsaver
MAKE_JOBS_SAFE= yes
USE_CMAKE= yes
-CMAKE_USE_PTHREAD= yes
CMAKE_VERBOSE= yes
CMAKE_ARGS+= -DUNIX:BOOL=1 -DBSD:BOOL=1
diff --git a/net-im/tapioca-qt/Makefile b/net-im/tapioca-qt/Makefile
index 05bfed421e6a..aeb6cf2ad894 100644
--- a/net-im/tapioca-qt/Makefile
+++ b/net-im/tapioca-qt/Makefile
@@ -28,10 +28,6 @@ USE_LDCONFIG= yes
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 700042
-CMAKE_USE_PTHREAD= yes
-.endif
-
post-extract:
${MKDIR} ${WRKSRC}
diff --git a/net-im/telepathy-qt/Makefile b/net-im/telepathy-qt/Makefile
index 27460d04a13a..c0b7656ce815 100644
--- a/net-im/telepathy-qt/Makefile
+++ b/net-im/telepathy-qt/Makefile
@@ -17,7 +17,6 @@ LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/../COPYING
USE_CMAKE= yes
-CMAKE_USE_PTHREAD= yes
CMAKE_SOURCE_PATH= ..
USE_QT_VER= 4
QT_COMPONENTS= corelib qmake_build uic_build moc_build rcc_build xml dbus
diff --git a/net-mgmt/vidalia/Makefile b/net-mgmt/vidalia/Makefile
index 4026f2b4ee5d..4d3b438f322e 100644
--- a/net-mgmt/vidalia/Makefile
+++ b/net-mgmt/vidalia/Makefile
@@ -18,7 +18,6 @@ MAINTAINER= fk@fabiankeil.de
COMMENT= A graphical Tor controller based on Qt 4.x
USE_CMAKE= yes
-CMAKE_USE_PTHREAD= yes
INSTALLS_ICONS= yes
USE_QT_VER= 4
QT_COMPONENTS= gui moc_build qmake_build rcc_build uic_build network xml linguist_build
diff --git a/polish/kadu/Makefile b/polish/kadu/Makefile
index 83e3db2b3f1d..ae8099e3e925 100644
--- a/polish/kadu/Makefile
+++ b/polish/kadu/Makefile
@@ -41,7 +41,6 @@ USE_CMAKE= yes
USE_XORG= xscrnsaver
CMAKE_ARGS= -DKADU_VERSION:STRING="${DISTVERSION}" -DWITH_ENCHANT=ON
# Setting KADU_VERSION disables git invocation
-CMAKE_USE_PTHREAD=yes
MAKE_JOBS_SAFE= yes
USE_QT_VER= 4
diff --git a/print/scribus-devel/Makefile b/print/scribus-devel/Makefile
index 3e2ac06fad06..4b115e8f820b 100644
--- a/print/scribus-devel/Makefile
+++ b/print/scribus-devel/Makefile
@@ -38,7 +38,6 @@ USE_GNOME= desktopfileutils libartlgpl2 libxml2 pkgconfig
USE_GHOSTSCRIPT_RUN= yes
USE_PYTHON= yes
USE_CMAKE= yes
-CMAKE_USE_PTHREAD= yes
MAKE_JOBS_SAFE= yes
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION}
diff --git a/print/scribus/Makefile b/print/scribus/Makefile
index c9a78c619b00..a123810b3928 100644
--- a/print/scribus/Makefile
+++ b/print/scribus/Makefile
@@ -35,7 +35,6 @@ USE_PERL5_BUILD=yes
USE_LDCONFIG= yes
USE_MOTIF= yes
USE_CMAKE= yes
-CMAKE_USE_PTHREAD= yes
PLIST_SUB+= SCRIBUS_VERSION=${PORTVERSION}
MAN1= scribus.1
diff --git a/science/massxpert/Makefile b/science/massxpert/Makefile
index f38a0820ea2c..f4b7629e31c5 100644
--- a/science/massxpert/Makefile
+++ b/science/massxpert/Makefile
@@ -23,10 +23,4 @@ QT_COMPONENTS= gui xml rcc_build qmake_build uic_build moc_build \
MAN7= massxpert-data.7
MAN1= massxpert.1
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 700000
-CMAKE_USE_PTHREAD= yes
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/security/nmapsi4/Makefile b/security/nmapsi4/Makefile
index b532bc9025aa..7e73e66a84b1 100644
--- a/security/nmapsi4/Makefile
+++ b/security/nmapsi4/Makefile
@@ -18,7 +18,6 @@ RUN_DEPENDS= ${LOCALBASE}/bin/nmap:${PORTSDIR}/security/nmap
LICENSE= GPLv2
USE_CMAKE= yes
-CMAKE_USE_PTHREAD= yes
INSTALLS_ICONS= yes
USE_QT_VER= 4
QT_COMPONENTS= gui xml qmake_build uic_build moc_build rcc_build network \
diff --git a/sysutils/kgtk/Makefile b/sysutils/kgtk/Makefile
index b6715c07113c..aae89309332b 100644
--- a/sysutils/kgtk/Makefile
+++ b/sysutils/kgtk/Makefile
@@ -24,7 +24,6 @@ USE_BZIP2= yes
USE_GNOME= gtk20
USE_KDEBASE_VER=3
USE_CMAKE= yes
-CMAKE_USE_PTHREAD= yes
WRKSRC= ${WRKDIR}/${DISTNAME}/build
CMAKE_SOURCE_PATH= ..
diff --git a/x11-fonts/fontmatrix/Makefile b/x11-fonts/fontmatrix/Makefile
index 3c4ea288453e..ef0c21f9d1a8 100644
--- a/x11-fonts/fontmatrix/Makefile
+++ b/x11-fonts/fontmatrix/Makefile
@@ -22,7 +22,6 @@ QT_COMPONENTS= gui svg network moc_build uic_build rcc_build qmake_build linguis
INSTALLS_ICONS= yes
USE_CMAKE= yes
-CMAKE_USE_PTHREAD= yes
OPTIONS= FONTFORGE "With FontForge editor" off
diff --git a/x11-wm/awesome/Makefile b/x11-wm/awesome/Makefile
index 746fdfd04308..c88352b38b92 100644
--- a/x11-wm/awesome/Makefile
+++ b/x11-wm/awesome/Makefile
@@ -33,7 +33,6 @@ LIB_DEPENDS= cairo.2:${PORTSDIR}/graphics/cairo \
USE_BZIP2= yes
USE_ICONV= yes
USE_CMAKE= yes
-CMAKE_USE_PTHREAD=yes
CMAKE_ARGS+= -DSYSCONFDIR=${PREFIX}/etc
USE_EFL= imlib2
USE_GNOME= glib20 pango