summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/ImageMagick/Makefile2
-rw-r--r--package/aiccu/Makefile2
-rw-r--r--package/aircrack-ng/Makefile3
-rw-r--r--package/alsa-utils/Makefile3
-rw-r--r--package/apr/Makefile2
-rw-r--r--package/asterisk/Makefile3
-rw-r--r--package/avahi/Makefile2
-rw-r--r--package/bcm28xx-vc/Makefile2
-rw-r--r--package/beecrypt/Makefile2
-rw-r--r--package/bind/Makefile3
-rw-r--r--package/bogofilter/Makefile3
-rw-r--r--package/clamav/Makefile3
-rw-r--r--package/collectd/Makefile3
-rw-r--r--package/coreutils/Makefile2
-rwxr-xr-xpackage/ctorrent/Makefile2
-rw-r--r--package/cups/Makefile3
-rw-r--r--package/curl/Makefile3
-rw-r--r--package/cxxtools/Makefile2
-rw-r--r--package/db/Makefile2
-rw-r--r--package/dillo/Makefile2
-rw-r--r--package/e2fsprogs/Makefile2
-rw-r--r--package/ffmpeg/Makefile2
-rw-r--r--package/findutils/Makefile2
-rw-r--r--package/firefox/Makefile7
-rw-r--r--package/fluxbox/Makefile2
-rw-r--r--package/fprobe-ulog/Makefile3
-rw-r--r--package/fprobe/Makefile3
-rw-r--r--package/freeglut/Makefile3
-rw-r--r--package/freeradius-server/Makefile3
-rw-r--r--package/gdk-pixbuf/Makefile2
-rw-r--r--package/git/Makefile3
-rw-r--r--package/gkrellm/Makefile3
-rw-r--r--package/glib/Makefile2
-rw-r--r--package/gpsd/Makefile2
-rw-r--r--package/gtk3/Makefile3
-rw-r--r--package/harfbuzz/Makefile5
-rw-r--r--package/icecast/Makefile3
-rw-r--r--package/iftop/Makefile5
-rw-r--r--package/iperf/Makefile2
-rw-r--r--package/iw/Makefile3
-rw-r--r--package/jamvm/Makefile3
-rw-r--r--package/kismet/Makefile3
-rw-r--r--package/kodi/Makefile5
-rw-r--r--package/krb5/Makefile3
-rw-r--r--package/lftp/Makefile3
-rw-r--r--package/libgtk2/Makefile3
-rw-r--r--package/libnet/Makefile3
-rw-r--r--package/libnotify/Makefile2
-rw-r--r--package/libosip2/Makefile2
-rw-r--r--package/libtiff/Makefile2
-rw-r--r--package/libupnp/Makefile2
-rw-r--r--package/libxslt/Makefile3
-rw-r--r--package/log4cplus/Makefile3
-rw-r--r--package/ltp/Makefile4
-rw-r--r--package/ltrace/Makefile3
-rw-r--r--package/maradns/Makefile3
-rw-r--r--package/mesa/Makefile3
-rw-r--r--package/mongrel2/Makefile3
-rw-r--r--package/monit/Makefile2
-rw-r--r--package/mosquitto/Makefile3
-rw-r--r--package/motion/Makefile3
-rw-r--r--package/mpd/Makefile5
-rw-r--r--package/mpg123/Makefile3
-rw-r--r--package/mplayer/Makefile3
-rw-r--r--package/neon/Makefile5
-rw-r--r--package/nfs-utils/Makefile3
-rw-r--r--package/nginx/Makefile3
-rw-r--r--package/nmap/Makefile3
-rw-r--r--package/ntpclient/Makefile2
-rw-r--r--package/omxplayer/Makefile4
-rw-r--r--package/openjdk7/Makefile5
-rw-r--r--package/openldap/Makefile3
-rw-r--r--package/openssh/Makefile3
-rw-r--r--package/openswan/Makefile3
-rw-r--r--package/opkg/Makefile3
-rw-r--r--package/oprofile/Makefile3
-rw-r--r--package/pango/Makefile2
-rw-r--r--package/parprouted/Makefile2
-rw-r--r--package/parted/Makefile3
-rw-r--r--package/patchelf/Makefile2
-rw-r--r--package/pcsc-lite/Makefile3
-rw-r--r--package/pdnsd/Makefile2
-rw-r--r--package/perl/Makefile2
-rw-r--r--package/php/Makefile2
-rw-r--r--package/poppler/Makefile5
-rw-r--r--package/privoxy/Makefile3
-rw-r--r--package/ptunnel/Makefile3
-rw-r--r--package/pulseaudio/Makefile3
-rw-r--r--package/python2/Makefile3
-rw-r--r--package/python3/Makefile3
-rw-r--r--package/qingy/Makefile4
-rw-r--r--package/rsyslog/Makefile7
-rw-r--r--package/rt-tests/Makefile2
-rw-r--r--package/rtorrent/Makefile3
-rw-r--r--package/ruby/Makefile2
-rw-r--r--package/rxvt-unicode/Makefile3
-rw-r--r--package/samba/Makefile5
-rw-r--r--package/sane-backends/Makefile4
-rw-r--r--package/sdl-image/Makefile3
-rw-r--r--package/sdl/Makefile3
-rw-r--r--package/siproxd/Makefile3
-rw-r--r--package/socat/Makefile2
-rw-r--r--package/sox/Makefile3
-rw-r--r--package/squeezelite/Makefile4
-rw-r--r--package/squid/Makefile3
-rw-r--r--package/strongswan/Makefile2
-rw-r--r--package/swconfig/Makefile3
-rw-r--r--package/sysdig/Makefile3
-rw-r--r--package/tmux/Makefile3
-rw-r--r--package/tntnet/Makefile3
-rw-r--r--package/tor/Makefile3
-rw-r--r--package/trafshow/Makefile3
-rw-r--r--package/tslib/Makefile2
-rw-r--r--package/twm/Makefile3
-rw-r--r--package/usbutils/Makefile3
-rw-r--r--package/vlc/Makefile3
-rw-r--r--package/wiringPi/Makefile2
-rw-r--r--package/wpa_supplicant/Makefile3
-rw-r--r--package/xf86-input-keyboard/Makefile3
-rw-r--r--package/xf86-input-mouse/Makefile3
-rw-r--r--package/xf86-video-ati/Makefile3
-rw-r--r--package/xf86-video-cirrus/Makefile3
-rw-r--r--package/xf86-video-fbdev/Makefile3
-rw-r--r--package/xf86-video-geode/Makefile3
-rw-r--r--package/xf86-video-intel/Makefile3
-rw-r--r--package/xf86-video-modesetting/Makefile3
-rw-r--r--package/xf86-video-siliconmotion/Makefile3
-rw-r--r--package/xfsprogs/Makefile3
-rw-r--r--package/xinit/Makefile3
-rw-r--r--package/xinput_calibrator/Makefile2
-rw-r--r--package/xorg-server/Makefile5
131 files changed, 235 insertions, 151 deletions
diff --git a/package/ImageMagick/Makefile b/package/ImageMagick/Makefile
index a964fc954..bb58a8b3f 100644
--- a/package/ImageMagick/Makefile
+++ b/package/ImageMagick/Makefile
@@ -10,9 +10,9 @@ PKG_RELEASE:= 1
PKG_HASH:= 5fd180603e60c624c05c644a8340f4f4e92c19dc3c41d374d38f76c69cd48ba3
PKG_DESCR:= image processing and converting utility
PKG_SECTION:= mm/image
-PKG_DEPENDS:= libstdcxx
PKG_BUILDDEP:= libpng libjpeg-turbo libtiff fontconfig
PKG_BUILDDEP+= pango libtool e2fsprogs
+PKG_NEEDS:= c++
PKG_URL:= http://www.imagemagick.org/
PKG_SITES:= http://www.imagemagick.org/download/
PKG_LIBNAME:= libimagemagick
diff --git a/package/aiccu/Makefile b/package/aiccu/Makefile
index cc69dc834..b2512aa27 100644
--- a/package/aiccu/Makefile
+++ b/package/aiccu/Makefile
@@ -9,7 +9,7 @@ PKG_RELEASE:= 11
PKG_HASH:= 2260f426c13471169ccff8cb4a3908dc5f79fda18ddb6a55363e7824e6c4c760
PKG_DESCR:= sixxs automatic ipv6 connectivity client utility
PKG_SECTION:= net/ipv6
-PKG_DEPENDS:= libpthread
+PKG_NEEDS:= threads
PKG_URL:= http://www.sixxs.net/
PKG_SITES:= http://www.sixxs.net/archive/sixxs/aiccu/unix/
PKG_CFLINE_AICCU:= select ADK_KERNEL_TUN m
diff --git a/package/aircrack-ng/Makefile b/package/aircrack-ng/Makefile
index 0e7780645..ee83a9641 100644
--- a/package/aircrack-ng/Makefile
+++ b/package/aircrack-ng/Makefile
@@ -9,8 +9,9 @@ PKG_RELEASE:= 1
PKG_HASH:= ba5b3eda44254efc5b7c9f776eb756f7cc323ad5d0813c101e92edb483d157e9
PKG_DESCR:= set of tools for auditing wireless networks
PKG_SECTION:= net/wifi
-PKG_DEPENDS:= libpthread libpcap libnl
+PKG_DEPENDS:= libpcap libnl
PKG_BUILDDEP:= libpcap libnl
+PKG_NEEDS:= threads
PKG_URL:= http://www.aircrack-ng.org/
PKG_SITES:= http://download.aircrack-ng.org/
# do not build parallel, otherwise libosdep.a may not be ready when compiling airtun-ng
diff --git a/package/alsa-utils/Makefile b/package/alsa-utils/Makefile
index f0ca7d65e..a7bad8975 100644
--- a/package/alsa-utils/Makefile
+++ b/package/alsa-utils/Makefile
@@ -9,8 +9,9 @@ PKG_RELEASE:= 1
PKG_HASH:= 5160058f3e14483ced5de919dd473f93932059454530a9b7ef97dcabd6833e9b
PKG_DESCR:= mixer/player/record utilities
PKG_SECTION:= mm/audio
-PKG_DEPENDS:= alsa-lib libpthread librt
+PKG_DEPENDS:= alsa-lib
PKG_BUILDDEP:= alsa-lib
+PKG_NEEDS:= threads rt
PKG_URL:= http://www.alsa-project.org/
PKG_SITES:= ftp://ftp.alsa-project.org/pub/utils/
diff --git a/package/apr/Makefile b/package/apr/Makefile
index 5882e7389..47bb25253 100644
--- a/package/apr/Makefile
+++ b/package/apr/Makefile
@@ -9,7 +9,7 @@ PKG_RELEASE:= 1
PKG_HASH:= 1af06e1720a58851d90694a984af18355b65bb0d047be03ec7d659c746d6dbdb
PKG_DESCR:= apache portable runtime library
PKG_SECTION:= libs/misc
-PKG_DEPENDS:= libpthread
+PKG_NEEDS:= threads
PKG_URL:= http://apr.apache.org/
PKG_SITES:= http://mirrors.ibiblio.org/apache//apr/
PKG_OPTS:= dev
diff --git a/package/asterisk/Makefile b/package/asterisk/Makefile
index 69c8abdcb..05f1a4290 100644
--- a/package/asterisk/Makefile
+++ b/package/asterisk/Makefile
@@ -9,8 +9,9 @@ PKG_RELEASE:= 2
PKG_HASH:= 7b3d84a3403fce590377808eaa4b08b6320666ca0e37eba0ad578b66211b13c8
PKG_DESCR:= open source pbx
PKG_SECTION:= net/voip
-PKG_DEPENDS:= libncurses libpthread libcurl libstdcxx
+PKG_DEPENDS:= libncurses libcurl
PKG_BUILDDEP:= ncurses zlib curl popt
+PKG_NEEDS:= threads c++
PKG_URL:= http://www.asterisk.org/
PKG_SITES:= http://downloads.asterisk.org/pub/telephony/asterisk/releases/
PKG_NOPARALLEL:= 1
diff --git a/package/avahi/Makefile b/package/avahi/Makefile
index 3fd46daae..433395d28 100644
--- a/package/avahi/Makefile
+++ b/package/avahi/Makefile
@@ -9,8 +9,8 @@ PKG_RELEASE:= 4
PKG_HASH:= 8372719b24e2dd75de6f59bb1315e600db4fd092805bd1201ed0cb651a2dab48
PKG_DESCR:= multicast dns daemon
PKG_SECTION:= net/dns
-PKG_DEPENDS:= libstdcxx
PKG_BUILDDEP:= libdaemon expat gdbm glib gettext-tiny
+PKG_NEEDS:= c++
PKG_URL:= http://avahi.org/
PKG_SITES:= http://avahi.org/download/
PKG_LIBNAME:= libavahi
diff --git a/package/bcm28xx-vc/Makefile b/package/bcm28xx-vc/Makefile
index aa9e96794..1ad1601ad 100644
--- a/package/bcm28xx-vc/Makefile
+++ b/package/bcm28xx-vc/Makefile
@@ -8,8 +8,8 @@ PKG_VERSION:= c2f27fb8e581f8e5af83bf28422553ade8f7a7c8
PKG_RELEASE:= 1
PKG_DESCR:= videocore tools and libraries
PKG_SECTION:= libs/video
-PKG_DEPENDS:= libpthread
PKG_BUILDDEP:= cmake-host
+PKG_NEEDS:= threads
PKG_URL:= https://github.com/raspberrypi/userland
PKG_SITES:= https://github.com/raspberrypi/userland.git
diff --git a/package/beecrypt/Makefile b/package/beecrypt/Makefile
index a43a79b95..4897016c1 100644
--- a/package/beecrypt/Makefile
+++ b/package/beecrypt/Makefile
@@ -9,7 +9,7 @@ PKG_RELEASE:= 1
PKG_HASH:= 286f1f56080d1a6b1d024003a5fa2158f4ff82cae0c6829d3c476a4b5898c55d
PKG_DESCR:= cryptography toolkit library
PKG_SECTION:= libs/crypto
-PKG_DEPENDS:= libstdcxx
+PKG_NEEDS:= c++
PKG_URL:= http://beecrypt.sourceforge.net/
PKG_SITES:= http://sourceforge.net/projects/beecrypt/files/beecrypt/$(PKG_VERSION)/
PKG_OPTS:= dev
diff --git a/package/bind/Makefile b/package/bind/Makefile
index fa823b692..e1f06a443 100644
--- a/package/bind/Makefile
+++ b/package/bind/Makefile
@@ -9,8 +9,9 @@ PKG_RELEASE:= 1
PKG_HASH:= 3f23e7fcb363a2594ed1f065868c2c1080a93636a4fcb4c47f9e164e2cd74c66
PKG_DESCR:= dns server
PKG_SECTION:= net/dns
-PKG_DEPENDS:= libbind libxml2 libstdcxx
+PKG_DEPENDS:= libbind libxml2
PKG_BUILDDEP:= libxml2
+PKG_NEEDS:= c++
PKG_URL:= https://www.isc.org/software/bind/
PKG_SITES:= ftp://ftp.isc.org/isc/bind9/${PKG_VERSION}/
PKG_LIBNAME:= libbind
diff --git a/package/bogofilter/Makefile b/package/bogofilter/Makefile
index 7091e6717..1050952cc 100644
--- a/package/bogofilter/Makefile
+++ b/package/bogofilter/Makefile
@@ -10,7 +10,8 @@ PKG_HASH:= d2f2598d1300307209b7b1905cc0637d2d053c0a4701a8d44383867299578471
PKG_DESCR:= mail filter software
PKG_SECTION:= net/mail
PKG_BUILDDEP:= db
-PKG_DEPENDS:= libdb libstdcxx
+PKG_DEPENDS:= libdb
+PKG_NEEDS:= c++
PKG_URL:= http://bogofilter.sourceforge.net/
PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=bogofilter/}
diff --git a/package/clamav/Makefile b/package/clamav/Makefile
index df0b1a52a..1317a5ffd 100644
--- a/package/clamav/Makefile
+++ b/package/clamav/Makefile
@@ -9,8 +9,9 @@ PKG_RELEASE:= 1
PKG_HASH:= 282417b707740de13cd8f18d4cbca9ddd181cf96b444db2cad98913a5153e272
PKG_DESCR:= anti-virus software
PKG_SECTION:= sys/misc
-PKG_DEPENDS:= libressl libxml2 zlib libpthread
+PKG_DEPENDS:= libressl libxml2 zlib
PKG_BUILDDEP:= libressl libxml2 zlib
+PKG_NEEDS:= threads
PKG_URL:= http://www.clamav.net/
PKG_SITES:= http://www.clamav.net/downloads/production/
diff --git a/package/collectd/Makefile b/package/collectd/Makefile
index 3a143ee9e..0b1e09539 100644
--- a/package/collectd/Makefile
+++ b/package/collectd/Makefile
@@ -10,7 +10,8 @@ PKG_HASH:= 853680936893df00bfc2be58f61ab9181fecb1cf45fc5cddcb7d25da98855f65
PKG_DESCR:= system statistics collection daemon
PKG_SECTION:= sys/misc
PKG_BUILDDEP:= libtool
-PKG_DEPENDS:= libpthread libltdl
+PKG_DEPENDS:= libltdl
+PKG_NEEDS:= threads
PKG_URL:= http://collectd.org/
PKG_SITES:= http://collectd.org/files/
diff --git a/package/coreutils/Makefile b/package/coreutils/Makefile
index 6c344dee6..2f31e7921 100644
--- a/package/coreutils/Makefile
+++ b/package/coreutils/Makefile
@@ -10,7 +10,7 @@ PKG_HASH:= a2d75286a4b9ef3a13039c2da3868a61be4ee9f17d8ae380a35a97e506972170
PKG_DESCR:= basic file, shell and text manipulation utilities
PKG_SECTION:= base/apps
PKG_BUILDDEP:= gmp
-PKG_DEPENDS:= libpthread
+PKG_NEEDS:= threads
PKG_URL:= http://www.gnu.org/software/coreutils/
PKG_SITES:= http://ftp.gnu.org/gnu/coreutils/
PKG_BB:= 1
diff --git a/package/ctorrent/Makefile b/package/ctorrent/Makefile
index 833a3853d..ea4f1d040 100755
--- a/package/ctorrent/Makefile
+++ b/package/ctorrent/Makefile
@@ -9,7 +9,7 @@ PKG_RELEASE:= 2
PKG_HASH:= c87366c91475931f75b924119580abd06a7b3cb3f00fef47346552cab1e24863
PKG_DESCR:= console-based bittorrent client
PKG_SECTION:= app/p2p
-PKG_DEPENDS:= libstdcxx
+PKG_NEEDS:= c++
PKG_URL:= http://www.rahul.net/dholmes/ctorrent
PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=dtorrent/}
diff --git a/package/cups/Makefile b/package/cups/Makefile
index 7c8e64b6d..1310c7f5f 100644
--- a/package/cups/Makefile
+++ b/package/cups/Makefile
@@ -9,8 +9,9 @@ PKG_RELEASE:= 4
PKG_HASH:= f52bec893d9daf92b6029be79c07e6c516b4c85ffae3e6e01885cc85e9081681
PKG_DESCR:= common unix printing system
PKG_SECTION:= net/misc
-PKG_DEPENDS:= zlib libpthread libstdcxx
+PKG_DEPENDS:= zlib
PKG_BUILDDEP:= cups-host zlib
+PKG_NEEDS:= threads c++
PKG_URL:= http://www.cups.org/
PKG_SITES:= http://www.cups.org/software/${PKG_VERSION}/
PKG_OPTS:= dev
diff --git a/package/curl/Makefile b/package/curl/Makefile
index 1a2c2fcb3..a7dd96a18 100644
--- a/package/curl/Makefile
+++ b/package/curl/Makefile
@@ -11,6 +11,7 @@ PKG_DESCR:= client-side url transfer tool
PKG_SECTION:= net/http
PKG_DEPENDS:= libcurl
PKG_BUILDDEP:= zlib
+PKG_NEEDS:= threads
PKG_URL:= http://curl.haxx.se/
PKG_SITES:= http://curl.haxx.se/download/
PKG_LIBNAME:= libcurl
@@ -21,7 +22,7 @@ DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
PKG_SUBPKGS:= CURL LIBCURL
PKGSD_LIBCURL:= client-side url transfer library
PKGSC_LIBCURL:= libs/net
-PKGSS_LIBCURL:= zlib libpthread
+PKGSS_LIBCURL:= zlib
PKG_FLAVOURS_CURL:= WITH_IPV6
PKGFD_WITH_IPV6:= enable ipv6 support
diff --git a/package/cxxtools/Makefile b/package/cxxtools/Makefile
index f15d89fbd..dff66b8b7 100644
--- a/package/cxxtools/Makefile
+++ b/package/cxxtools/Makefile
@@ -8,7 +8,7 @@ PKG_VERSION:= 2.2.1
PKG_RELEASE:= 2
PKG_HASH:= 8cebb6d6cda7c93cc4f7c0d552a68d50dd5530b699cf87916bb3b708fdc4e342
PKG_DESCR:= collection of general-purpose c++ classes
-PKG_DEPENDS:= libstdcxx
+PKG_NEEDS:= c++
PKG_SECTION:= libs/misc
PKG_URL:= http://www.tntnet.org/
PKG_SITES:= http://www.tntnet.org/download/
diff --git a/package/db/Makefile b/package/db/Makefile
index 3d88b1b1b..c95fceddb 100644
--- a/package/db/Makefile
+++ b/package/db/Makefile
@@ -9,7 +9,7 @@ PKG_RELEASE:= 2
PKG_HASH:= ddd92a930317df92021054c03992392db9ea5cddba43bef8920d392a82114fb8
PKG_DESCR:= disk file format database which stores key/data-pairs in single files
PKG_SECTION:= libs/db
-PKG_DEPENDS:= libstdcxx
+PKG_NEEDS:= c++
PKG_URL:= http://www.oracle.com/technology/software/products/berkeley-db
PKG_SITES:= http://distfiles.openadk.org/
PKG_LIBNAME:= libdb
diff --git a/package/dillo/Makefile b/package/dillo/Makefile
index 0ed262585..632a8cb3d 100644
--- a/package/dillo/Makefile
+++ b/package/dillo/Makefile
@@ -10,8 +10,8 @@ PKG_HASH:= db1be16c1c5842ebe07b419aa7c6ef11a45603a75df2877f99635f4f8345148b
PKG_DESCR:= small graphical web browser
PKG_SECTION:= x11/apps
PKG_DEPENDS:= libfltk libxi libpng zlib libjpeg-turbo
-PKG_DEPENDS+= libstdcxx libpthread
PKG_BUILDDEP:= fltk libXi libjpeg-turbo libpng zlib
+PKG_NEEDS:= threads cxx
PKG_URL:= http://www.dillo.org/
PKG_SITES:= http://www.dillo.org/download/
diff --git a/package/e2fsprogs/Makefile b/package/e2fsprogs/Makefile
index ab5283a7b..fb5e36d1c 100644
--- a/package/e2fsprogs/Makefile
+++ b/package/e2fsprogs/Makefile
@@ -9,8 +9,8 @@ PKG_RELEASE:= 1
PKG_HASH:= e16474b5a3a30f9197160c4b91bd48d5a463583049c0fcc405b6f0f7075aa0c7
PKG_DESCR:= ext2/3/4 filesystem utilities
PKG_SECTION:= sys/fs
-PKG_DEPENDS:= libpthread
PKG_BUILDDEP:= util-linux
+PKG_NEEDS:= threads
PKG_URL:= http://e2fsprogs.sourceforge.net/
PKG_SITES:= https://www.kernel.org/pub/linux/kernel/people/tytso/e2fsprogs/v$(PKG_VERSION)/
PKG_OPTS:= dev
diff --git a/package/ffmpeg/Makefile b/package/ffmpeg/Makefile
index 39f0f9ba2..55a3d7779 100644
--- a/package/ffmpeg/Makefile
+++ b/package/ffmpeg/Makefile
@@ -9,7 +9,7 @@ PKG_RELEASE:= 1
PKG_HASH:= e2ed5ab28dee1af94336739173eb0019afc21a54e38a96f4e3208e94a07866e2
PKG_DESCR:= record, convert and stream audio & video
PKG_SECTION:= libs/video
-PKG_FDEPENDS:= libpthread
+PKG_NEEDS:= threads
PKG_URL:= http://www.ffmpeg.org/
PKG_SITES:= http://www.ffmpeg.org/releases/
PKG_LIBNAME:= libffmpeg
diff --git a/package/findutils/Makefile b/package/findutils/Makefile
index 69e48b4e2..a2ad47c3a 100644
--- a/package/findutils/Makefile
+++ b/package/findutils/Makefile
@@ -9,8 +9,8 @@ PKG_RELEASE:= 7
PKG_HASH:= 434f32d171cbc0a5e72cfc5372c6fc4cb0e681f8dce566a0de5b6fccd702b62a
PKG_DESCR:= utilities for finding files
PKG_SECTION:= base/apps
-PKG_DEPENDS:= libpthread
HOST_BUILDDEP:= autoconf-host bison-host
+PKG_NEEDS:= treads
PKG_URL:= http://www.gnu.org/software/findutils/
PKG_SITES:= http://ftp.gnu.org/pub/gnu/findutils/
PKG_BB:= 1
diff --git a/package/firefox/Makefile b/package/firefox/Makefile
index 462e3e596..d31deba4a 100644
--- a/package/firefox/Makefile
+++ b/package/firefox/Makefile
@@ -9,14 +9,15 @@ PKG_RELEASE:= 1
PKG_HASH:= ff00689f4d2ff54c5eb7b3aa367560a3645800eb0c96e73a795e461461b1970e
PKG_DESCR:= graphical webbrowser
PKG_SECTION:= x11/apps
-PKG_DEPENDS:= libpthread alsa-lib glib libgtk2 libpng libtiff libxcursor libffi
-PKG_DEPENDS+= nspr nss libjpeg-turbo libatk pango cairo libxt libx11 libstdcxx hicolor-icon-theme
-PKG_DEPENDS+= libxdamage libxfixes libidl libsqlite libxcomposite gdk-pixbuf librt
+PKG_DEPENDS:= alsa-lib glib libgtk2 libpng libtiff libxcursor libffi
+PKG_DEPENDS+= nspr nss libjpeg-turbo libatk pango cairo libxt libx11 hicolor-icon-theme
+PKG_DEPENDS+= libxdamage libxfixes libidl libsqlite libxcomposite gdk-pixbuf
PKG_DEPENDS+= harfbuzz mesa libvpx libbz2 ca-certificates libevent
PKG_BUILDDEP:= alsa-lib glib libgtk2 libIDL libX11 mesa libtiff gdk-pixbuf
PKG_BUILDDEP+= nspr nss libjpeg-turbo libXt fontconfig sqlite atk libpng hicolor-icon-theme
PKG_BUILDDEP+= libvpx pango gettext-tiny bzip2 libevent bzip2-host python2-host yasm-host
PKG_BUILDDEP+= zip-host
+PKG_NEEDS:= threads rt c++
PKG_URL:= http://www.mozilla.org/
PKG_SITES:= http://releases.mozilla.org/pub/mozilla.org/firefox/releases/$(PKG_VERSION)/source/
PKG_NOPARALLEL:= 1
diff --git a/package/fluxbox/Makefile b/package/fluxbox/Makefile
index 31a7c5bb7..54d67f15d 100644
--- a/package/fluxbox/Makefile
+++ b/package/fluxbox/Makefile
@@ -9,8 +9,8 @@ PKG_RELEASE:= 1
PKG_HASH:= fc8c75fe94c54ed5a5dd3fd4a752109f8949d6df67a48e5b11a261403c382ec0
PKG_DESCR:= window manager featuring tabs and an iconbar
PKG_SECTION:= x11/apps
-PKG_DEPENDS:= libstdcxx
PKG_BUILDDEP:= libXpm libXft
+PKG_NEEDS:= c++
PKG_URL:= http://www.fluxbox.org/
PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=fluxbox/}
diff --git a/package/fprobe-ulog/Makefile b/package/fprobe-ulog/Makefile
index f55b1f773..15ad3843b 100644
--- a/package/fprobe-ulog/Makefile
+++ b/package/fprobe-ulog/Makefile
@@ -9,7 +9,8 @@ PKG_RELEASE:= 1
PKG_HASH:= 53b9ccbca4469dfb0e9da91f9f0789dbf732f2adac9de18842e3c210b445f2ad
PKG_DESCR:= netflow probe
PKG_SECTION:= net/acct
-PKG_DEPENDS:= libpcap libpthread
+PKG_DEPENDS:= libpcap
+PKG_NEEDS:= threads
PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=fprobe/}
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
diff --git a/package/fprobe/Makefile b/package/fprobe/Makefile
index e666ad13d..02406c69f 100644
--- a/package/fprobe/Makefile
+++ b/package/fprobe/Makefile
@@ -9,8 +9,9 @@ PKG_RELEASE:= 1
PKG_HASH:= 3a1cedf5e7b0d36c648aa90914fa71a158c6743ecf74a38f4850afbac57d22a0
PKG_DESCR:= netflow probe
PKG_SECTION:= net/acct
-PKG_DEPENDS:= libpcap libpthread
+PKG_DEPENDS:= libpcap
PKG_BUILDDEP:= libpcap
+PKG_NEEDS:= threads
PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=fprobe/}
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
diff --git a/package/freeglut/Makefile b/package/freeglut/Makefile
index c98814d36..258eb5802 100644
--- a/package/freeglut/Makefile
+++ b/package/freeglut/Makefile
@@ -9,8 +9,9 @@ PKG_RELEASE:= 1
PKG_HASH:= dde46626a62a1cd9cf48a11951cdd592e7067c345cffe193a149dfd47aef999a
PKG_DESCR:= opengl utility toolkit libraries
PKG_SECTION:= libs/video
-PKG_DEPENDS:= libglu libstdcxx
+PKG_DEPENDS:= libglu
PKG_BUILDDEP:= glu
+PKG_NEEDS:= c++
PKG_URL:= http://freeglut.sourceforge.net/
PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=freeglut/}
PKG_OPTS:= dev
diff --git a/package/freeradius-server/Makefile b/package/freeradius-server/Makefile
index 6e34d71a2..0a40d5947 100644
--- a/package/freeradius-server/Makefile
+++ b/package/freeradius-server/Makefile
@@ -9,8 +9,9 @@ PKG_RELEASE:= 1
PKG_HASH:= c27252d7a86ba252904612d9b1f90e846f3ef1f4afee6a748f5287b730e87e3a
PKG_DESCR:= flexible radius server
PKG_SECTION:= net/radius
-PKG_DEPENDS:= libltdl libpthread libpcre libtalloc
+PKG_DEPENDS:= libltdl libpcre libtalloc
PKG_BUILDDEP:= libtool pcre talloc
+PKG_NEEDS:= threads
PKG_URL:= http://www.freeradius.org/
PKG_SITES:= ftp://ftp.freeradius.org/pub/radius/
diff --git a/package/gdk-pixbuf/Makefile b/package/gdk-pixbuf/Makefile
index ec5f23006..50f40b4e2 100644
--- a/package/gdk-pixbuf/Makefile
+++ b/package/gdk-pixbuf/Makefile
@@ -10,9 +10,9 @@ PKG_RELEASE:= 1
PKG_HASH:= 4853830616113db4435837992c0aebd94cbb993c44dc55063cee7f72a7bef8be
PKG_DESCR:= image loading and pixel buffer manipulation library
PKG_SECTION:= libs/image
-PKG_DEPENDS:= libstdcxx
PKG_BUILDDEP:= libjpeg-turbo libtiff
HOST_BUILDDEP:= glib-host libffi-host
+PKG_NEEDS:= c++
PKG_SITES:= $(MASTER_SITE_GNOME:=gdk-pixbuf/$(PKG_EXTRAVER)/)
PKG_OPTS:= dev
diff --git a/package/git/Makefile b/package/git/Makefile
index 0617ebffd..d375b3912 100644
--- a/package/git/Makefile
+++ b/package/git/Makefile
@@ -10,7 +10,8 @@ PKG_HASH:= 646e37abbc69d5c1b153e30c82ec3346d176e2b499b44281d08565ad8e00a670
PKG_DESCR:= fast version control system
PKG_SECTION:= dev/scm
PKG_BUILDDEP:= curl expat
-PKG_DEPENDS:= libcurl libexpat libpthread librt
+PKG_DEPENDS:= libcurl libexpat
+PKG_NEEDS:= threads rt
PKG_URL:= http://git-scm.com/
PKG_SITES:= https://www.kernel.org/pub/software/scm/git/
diff --git a/package/gkrellm/Makefile b/package/gkrellm/Makefile
index ead11f61f..dd97fbd82 100644
--- a/package/gkrellm/Makefile
+++ b/package/gkrellm/Makefile
@@ -9,8 +9,9 @@ PKG_RELEASE:= 1
PKG_HASH:= 4fd7893cce76703f815f140c6d34889383c2b2a6d83470bf9486625f84da375e
PKG_DESCR:= krell monitors server
PKG_SECTION:= net/misc
-PKG_DEPENDS:= glib libpthread
+PKG_DEPENDS:= glib
PKG_BUILDDEP:= glib
+PKG_NEEDS:= threads
PKG_URL:= http://members.dslextreme.com/users/billw/gkrellm/gkrellm.html
PKG_SITES:= http://members.dslextreme.com/users/billw/gkrellm/
diff --git a/package/glib/Makefile b/package/glib/Makefile
index 02ed182b7..732ccfd00 100644
--- a/package/glib/Makefile
+++ b/package/glib/Makefile
@@ -10,9 +10,9 @@ PKG_EXTRAVER:= 2.44
PKG_HASH:= 8811deacaf8a503d0a9b701777ea079ca6a4277be10e3d730d2112735d5eca07
PKG_DESCR:= low-level core library that forms the basis of gtk+
PKG_SECTION:= libs/misc
-PKG_DEPENDS:= libpthread
PKG_BUILDDEP:= glib-host libffi gettext-tiny zlib libelf dbus
HOST_BUILDDEP:= libffi-host gettext-tiny-host python2-host
+PKG_NEEDS:= threads
PKG_URL:= http://www.gtk.org/
PKG_SITES:= http://ftp.gnome.org/pub/gnome/sources/glib/$(PKG_EXTRAVER)/
PKG_NOPARALLEL:= 1
diff --git a/package/gpsd/Makefile b/package/gpsd/Makefile
index bd3610ddd..cee63400e 100644
--- a/package/gpsd/Makefile
+++ b/package/gpsd/Makefile
@@ -9,8 +9,8 @@ PKG_RELEASE:= 1
PKG_HASH:= 81c89e271ae112313e68655ab30d227bc38fe7841ffbff0f1860b12a9d7696ea
PKG_DESCR:= interface daemon for gps receivers
PKG_SECTION:= sys/hw
-PKG_DEPENDS:= libpthread
PKG_BUILDDEP:= scons-host ncurses
+PKG_NEEDS:= threads
PKG_URL:= http://catb.org/gpsd/
PKG_SITES:= http://download-mirror.savannah.gnu.org/releases/gpsd/
diff --git a/package/gtk3/Makefile b/package/gtk3/Makefile
index d609cc26e..32c322a00 100644
--- a/package/gtk3/Makefile
+++ b/package/gtk3/Makefile
@@ -10,10 +10,11 @@ PKG_RELEASE:= 1
PKG_HASH:= 2943fd4a6b02c2a9b2edd231c1d8f7a1d2f8d36996f14310d34f503dca9ebea4
PKG_DESCR:= multi-platform toolkit for creating graphical user interfaces
PKG_SECTION:= libs/misc
-PKG_DEPENDS:= glib libstdcxx cairo libxi libepoxy
+PKG_DEPENDS:= glib cairo libxi libepoxy
PKG_BUILDDEP:= cairo atk pango libXext renderproto libXrender
PKG_BUILDDEP+= gdk-pixbuf libXcomposite libXdamage libX11 libXi
PKG_BUILDDEP+= at-spi2-core at-spi2-atk gdk-pixbuf-host libepoxy
+PKG_NEEDS:= c++
PKG_URL:= http://www.gtk.org/
PKG_SITES:= $(MASTER_SITE_GNOME:=gtk+/$(PKG_EXTRAVER)/)
PKG_LIBNAME:= libgtk3
diff --git a/package/harfbuzz/Makefile b/package/harfbuzz/Makefile
index 86bc2c8a6..b74220bb6 100644
--- a/package/harfbuzz/Makefile
+++ b/package/harfbuzz/Makefile
@@ -10,9 +10,10 @@ PKG_HASH:= f616a7fbdc78a627043f9029000bf08c0c71df59cde4143fc92a014f6a993b26
PKG_DESCR:= opentype text shaping engine
PKG_SECTION:= libs/fonts
PKG_SITES:= http://www.freedesktop.org/software/harfbuzz/release/
-PKG_DEPENDS:= libstdcxx cairo icu4c
-PKG_BUILDDEP:= libstdcxx cairo icu4c
+PKG_DEPENDS:= cairo icu4c
+PKG_BUILDDEP:= cairo icu4c
HOST_BUILDDEP:= cairo-host icu4c-host
+PKG_NEEDS:= c++
PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
diff --git a/package/icecast/Makefile b/package/icecast/Makefile
index 69eeb52ff..df4fe30b7 100644
--- a/package/icecast/Makefile
+++ b/package/icecast/Makefile
@@ -9,8 +9,9 @@ PKG_RELEASE:= 1
PKG_HASH:= 1b1d06f5f83c9a983cd28cc78aa90e4038f933511b3d20d7fd2cfc116645c36d
PKG_DESCR:= streaming media server
PKG_SECTION:= mm/audio
-PKG_DEPENDS:= libcurl libvorbis libpthread libxml2 libxslt
+PKG_DEPENDS:= libcurl libvorbis libxml2 libxslt
PKG_BUILDDEP:= curl libvorbis libxml2 libxslt
+PKG_NEEDS:= threads
PKG_URL:= http://www.icecast.org/
PKG_SITES:= http://downloads.us.xiph.org/releases/icecast/
diff --git a/package/iftop/Makefile b/package/iftop/Makefile
index d11d60d90..ea962c5ce 100644
--- a/package/iftop/Makefile
+++ b/package/iftop/Makefile
@@ -9,8 +9,9 @@ PKG_RELEASE:= 1
PKG_HASH:= d032547c708307159ff5fd0df23ebd3cfa7799c31536fa0aea1820318a8e0eac
PKG_DESCR:= display bandwith usage on an interface
PKG_SECTION:= net/perf
-PKG_DEPENDS:= libncurses libpcap libpthread
-PKG_BUILDDEP:= libpcap libpthread ncurses
+PKG_DEPENDS:= libncurses libpcap
+PKG_BUILDDEP:= libpcap ncurses
+PKG_NEEDS:= threads
PKG_URL:= http://www.ex-parrot.com/~pdw/iftop/
PKG_SITES:= http://www.ex-parrot.com/~pdw/iftop/download/
diff --git a/package/iperf/Makefile b/package/iperf/Makefile
index a733e73e2..b1de4d695 100644
--- a/package/iperf/Makefile
+++ b/package/iperf/Makefile
@@ -9,7 +9,7 @@ PKG_RELEASE:= 1
PKG_HASH:= 636b4eff0431cea80667ea85a67ce4c68698760a9837e1e9d13096d20362265b
PKG_DESCR:= internet protocol bandwidth measuring tool
PKG_SECTION:= net/perf
-PKG_DEPENDS:= libpthread
+PKG_NEEDS:= threads c++
PKG_URL:= http://sourceforge.net/projects/iperf
PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=iperf/}
PKG_CXX:= IPERF
diff --git a/package/iw/Makefile b/package/iw/Makefile
index 2a9fb3f7e..870178dfa 100644
--- a/package/iw/Makefile
+++ b/package/iw/Makefile
@@ -9,8 +9,9 @@ PKG_RELEASE:= 1
PKG_HASH:= 5164aaacd8e82501d84a2187af194e8285a5a5b76e200447eb58d4dd78d1a34b
PKG_DESCR:= tools for setting up wifi cards via netlink
PKG_SECTION:= net/wifi
-PKG_DEPENDS:= libnl libpthread
+PKG_DEPENDS:= libnl
PKG_BUILDDEP:= libnl
+PKG_NEEDS:= threads
PKG_URL:= http://wireless.kernel.org/en/users/Documentation/iw
PKG_SITES:= https://www.kernel.org/pub/software/network/iw/
diff --git a/package/jamvm/Makefile b/package/jamvm/Makefile
index f596ed019..97aac2386 100644
--- a/package/jamvm/Makefile
+++ b/package/jamvm/Makefile
@@ -9,8 +9,9 @@ PKG_RELEASE:= 1
PKG_HASH:= 76428e96df0ae9dd964c7a7c74c1e9a837e2f312c39e9a357fa8178f7eff80da
PKG_DESCR:= java virtual machine implementation
PKG_SECTION:= dev/lang
-PKG_DEPENDS:= libffi zlib libpthread librt
+PKG_DEPENDS:= libffi zlib
PKG_BUILDDEP:= libffi zlib
+PKG_NEEDS:= threads rt
PKG_URL:= http://jamvm.sourceforge.net
PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=jamvm/}
diff --git a/package/kismet/Makefile b/package/kismet/Makefile
index b13071432..1c1731add 100644
--- a/package/kismet/Makefile
+++ b/package/kismet/Makefile
@@ -9,8 +9,9 @@ PKG_RELEASE:= 1
PKG_HASH:= 636d4d7ef8c67ae6ee8d8e1635f5115700eecb9fa4c208afaee30238db527c2c
PKG_DESCR:= wireless network detector, sniffer, and intrusion detection system
PKG_SECTION:= net/wifi
-PKG_DEPENDS:= libpcap libncurses libpthread
+PKG_DEPENDS:= libpcap libncurses
PKG_BUILDDEP:= libpcap ncurses
+PKG_NEEDS:= threads
PKG_URL:= http://www.kismetwireless.net/
PKG_SITES:= http://www.kismetwireless.net/code/
diff --git a/package/kodi/Makefile b/package/kodi/Makefile
index f23689c41..2e055b538 100644
--- a/package/kodi/Makefile
+++ b/package/kodi/Makefile
@@ -9,7 +9,7 @@ PKG_RELEASE:= 1
PKG_HASH:= dd8aeb942e6de5d1488e243e1346cff3f6597e21b5131a3ba72ff5cc82037110
PKG_DESCR:= software media player
PKG_SECTION:= mm/video
-PKG_DEPENDS:= boost python2 libstdcxx libsquish libbluray
+PKG_DEPENDS:= boost python2 libsquish libbluray
PKG_DEPENDS+= libass libmpeg2 libmad libdbus libglew mesa
PKG_DEPENDS+= libjpeg-turbo libogg libvorbis libmodplug libcurl
PKG_DEPENDS+= libflac libbz2 libtiff liblzo libnettle librtmp
@@ -17,7 +17,7 @@ PKG_DEPENDS+= yajl tinyxml libsqlite libpcrecpp libpng libncurses
PKG_DEPENDS+= libpcre libcdio libfreetype libsamplerate libuuid
PKG_DEPENDS+= taglib libjasper libmp3lame libmicrohttpd libgtk2
PKG_DEPENDS+= libgpg-error libudev python2-mod-sqlite libffmpeg
-PKG_DEPENDS+= libxslt libvorbisenc alsa-lib glib libglu librt
+PKG_DEPENDS+= libxslt libvorbisenc alsa-lib glib libglu
PKG_BUILDDEP:= boost python2 libass ffmpeg libglew rtmpdump
PKG_BUILDDEP+= libmpeg2 libmad libjpeg-turbo libogg libvorbis
PKG_BUILDDEP+= curl flac bzip2 libtiff liblzo yajl mesa
@@ -27,6 +27,7 @@ PKG_BUILDDEP+= eudev alsa-lib glib glu libmodplug libgtk2
PKG_BUILDDEP+= libgpg-error dbus libxslt libvorbis libbluray
PKG_BUILDDEP+= swig-host liblzo-host libpng-host libjpeg-turbo-host
PKG_BUILDDEP+= zip-host unzip-host giflib-host libsquish
+PKG_NEEDS:= threads rt c++
PKG_URL:= http://kodi.tv/
PKG_SITES:= https://github.com/xbmc/xbmc/archive/
diff --git a/package/krb5/Makefile b/package/krb5/Makefile
index 02681c76e..d8f12cc89 100644
--- a/package/krb5/Makefile
+++ b/package/krb5/Makefile
@@ -9,8 +9,9 @@ PKG_RELEASE:= 1
PKG_HASH:= 4df629fdf97f362cf81edbf38d613b32b492dd88c876cf3aa1c66562f296663e
PKG_DESCR:= kerberos server
PKG_SECTION:= app/crypto
-PKG_DEPENDS:= libkrb5 libncurses keyutils libpthread
+PKG_DEPENDS:= libkrb5 libncurses keyutils
PKG_BUILDDEP:= ncurses gettext-tiny bison-host
+PKG_NEEDS:= threads
PKG_URL:= http://web.mit.edu/kerberos/
PKG_SITES:= http://web.mit.edu/kerberos/dist/krb5/1.13/
PKG_LIBNAME:= libkrb5
diff --git a/package/lftp/Makefile b/package/lftp/Makefile
index d36b6f1c0..028c89dbb 100644
--- a/package/lftp/Makefile
+++ b/package/lftp/Makefile
@@ -9,9 +9,10 @@ PKG_RELEASE:= 1
PKG_HASH:= 1e61d5c94b06c333309185e86cfce0729e45e3f69f7496c58d61093b135c8bb9
PKG_DESCR:= ftp and http client
PKG_SECTION:= net/http
-PKG_DEPENDS:= libncurses libexpat libstdcxx
+PKG_DEPENDS:= libncurses libexpat
PKG_DEPENDS+= zlib libreadline
PKG_BUILDDEP:= ncurses expat readline zlib
+PKG_NEEDS:= c++
PKG_URL:= http://lftp.yar.ru/
PKG_SITES:= http://lftp.yar.ru/ftp/
diff --git a/package/libgtk2/Makefile b/package/libgtk2/Makefile
index bb4589881..38c2996e6 100644
--- a/package/libgtk2/Makefile
+++ b/package/libgtk2/Makefile
@@ -10,9 +10,10 @@ PKG_RELEASE:= 1
PKG_HASH:= b2c6441e98bc5232e5f9bba6965075dcf580a8726398f7374d39f90b88ed4656
PKG_DESCR:= multi-platform toolkit for creating graphical user interfaces
PKG_SECTION:= libs/misc
-PKG_DEPENDS:= glib libstdcxx cairo
+PKG_DEPENDS:= glib cairo
PKG_BUILDDEP:= glib cairo atk pango libXext renderproto libXrender
PKG_BUILDDEP+= gdk-pixbuf libXcomposite libXdamage libX11
+PKG_NEEDS:= c++
PKG_URL:= http://www.gtk.org/
PKG_SITES:= http://ftp.gnome.org/pub/gnome/sources/gtk+/$(PKG_EXTRAVER)/
PKG_LIBNAME:= libgtk2
diff --git a/package/libnet/Makefile b/package/libnet/Makefile
index feda93d14..060448b3a 100644
--- a/package/libnet/Makefile
+++ b/package/libnet/Makefile
@@ -9,8 +9,9 @@ PKG_RELEASE:= 1
PKG_HASH:= d392bb5825c4b6b672fc93a0268433c86dc964e1500c279dc6d0711ea6ec467a
PKG_DESCR:= low-level packet creation library
PKG_SECTION:= libs/net
-PKG_DEPENDS:= libpcap libstdcxx
+PKG_DEPENDS:= libpcap
PKG_BUILDDEP:= libpcap
+PKG_NEEDS:= c++
PKG_URL:= http://sourceforge.net/projects/libnet-dev/
PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=libnet-dev/}
PKG_OPTS:= dev
diff --git a/package/libnotify/Makefile b/package/libnotify/Makefile
index 81924eb76..61581e4e5 100644
--- a/package/libnotify/Makefile
+++ b/package/libnotify/Makefile
@@ -9,8 +9,8 @@ PKG_RELEASE:= 3
PKG_HASH:= 0799db8ea1500b65a477421a8c930cc8c8b0bbc0596e55ea1601e2542f3fb0d9
PKG_DESCR:= notify library
PKG_SECTION:= libs/misc
-PKG_DEPENDS:= libstdcxx
PKG_BUILDDEP:= libgtk2 dbus-glib
+PKG_NEEDS:= c++
PKG_URL:= http://www.galago-project.org/
PKG_SITES:= http://www.galago-project.org/files/releases/source/libnotify/
PKG_OPTS:= dev
diff --git a/package/libosip2/Makefile b/package/libosip2/Makefile
index d921adf68..44a92db37 100644
--- a/package/libosip2/Makefile
+++ b/package/libosip2/Makefile
@@ -9,7 +9,7 @@ PKG_RELEASE:= 2
PKG_HASH:= d45e28deaa596b2d7457edefe916b4761adbd53d543180f4ff30f9c310a5f821
PKG_DESCR:= session initiation protocol implementation
PKG_SECTION:= libs/net
-PKG_DEPENDS:= libpthread
+PKG_NEEDS:= threads
PKG_URL:= http://www.gnu.org/software/osip
PKG_SITES:= ${MASTER_SITE_GNU:=osip/}
PKG_OPTS:= dev
diff --git a/package/libtiff/Makefile b/package/libtiff/Makefile
index 621c7f9ca..ca2c0d5a8 100644
--- a/package/libtiff/Makefile
+++ b/package/libtiff/Makefile
@@ -8,8 +8,8 @@ PKG_VERSION:= 4.0.4
PKG_RELEASE:= 1
PKG_HASH:= 8cb1d90c96f61cdfc0bcf036acc251c9dbe6320334da941c7a83cfe1576ef890
PKG_DESCR:= library for reading/writing tiff images
-PKG_DEPENDS:= libstdcxx
PKG_SECTION:= libs/image
+PKG_NEEDS:= c++
PKG_URL:= http://www.libtiff.org/
PKG_SITES:= ftp://ftp.remotesensing.org/pub/libtiff/
PKG_LIBNAME:= libtiff
diff --git a/package/libupnp/Makefile b/package/libupnp/Makefile
index fb69be3ae..622dec7c4 100644
--- a/package/libupnp/Makefile
+++ b/package/libupnp/Makefile
@@ -9,7 +9,7 @@ PKG_RELEASE:= 1
PKG_HASH:= b3142b39601243b50532eec90f4a27dba85eb86f58d4b849ac94edeb29d9b22a
PKG_DESCR:= universal plug and play sdk library
PKG_SECTION:= libs/net
-PKG_DEPENDS:= libpthread
+PKG_NEEDS:= threads
PKG_URL:= http://pupnp.sourceforge.net/
PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=pupnp/}
PKG_OPTS:= dev
diff --git a/package/libxslt/Makefile b/package/libxslt/Makefile
index eca6dd96d..f31ae5426 100644
--- a/package/libxslt/Makefile
+++ b/package/libxslt/Makefile
@@ -9,9 +9,10 @@ PKG_RELEASE:= 2
PKG_HASH:= 5fc7151a57b89c03d7b825df5a0fae0a8d5f05674c0e7cf2937ecec4d54a028c
PKG_DESCR:= xslt library
PKG_SECTION:= libs/data
-PKG_DEPENDS:= libxml2 libstdcxx
+PKG_DEPENDS:= libxml2
PKG_BUILDDEP:= libxslt-host libxml2
HOST_BUILDDEP:= libxml2-host
+PKG_NEEDS:= c++
PKG_URL:= http://xmlsoft.org/XSLT
PKG_SITES:= http://xmlsoft.org/sources/
PKG_OPTS:= dev
diff --git a/package/log4cplus/Makefile b/package/log4cplus/Makefile
index 6fc0963ca..f690daaf4 100644
--- a/package/log4cplus/Makefile
+++ b/package/log4cplus/Makefile
@@ -9,8 +9,7 @@ PKG_RELEASE:= 2
PKG_HASH:= c2bb01b5f4bff5fa768700e98ead4a79dfd556096c9f3f0401849da7ab80fbef
PKG_DESCR:= logging framework for c++
PKG_SECTION:= libs/misc
-PKG_DEPENDS:= libpthread
-PKG_BUILDDEP:= libpthread
+PKG_NEEDS:= threads
PKG_URL:= http://log4cplus.sourceforge.net/
PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=log4cplus/log4cplus-stable/${PKG_VERSION}/}
PKG_OPTS:= dev
diff --git a/package/ltp/Makefile b/package/ltp/Makefile
index dad5aed96..2e5fc8da3 100644
--- a/package/ltp/Makefile
+++ b/package/ltp/Makefile
@@ -8,8 +8,8 @@ PKG_VERSION:= 20150903
PKG_RELEASE:= 1
PKG_HASH:= e670ae9f1e42bc8b500edd3c3a5cf09c6447c56d7738a22235c87a13739bcace
PKG_DESCR:= linux test project
-PKG_DEPENDS:= bash libpthread librt
-PKG_DEPENDS+= mke2fs mkfs
+PKG_DEPENDS:= bash mke2fs mkfs
+PKG_NEEDS:= threads rt
PKG_SECTION:= sys/misc
PKG_URL:= http://linux-test-project.github.io
PKG_SITES:= https://github.com/linux-test-project/ltp/archive/
diff --git a/package/ltrace/Makefile b/package/ltrace/Makefile
index 30018b550..2fa2d9d44 100644
--- a/package/ltrace/Makefile
+++ b/package/ltrace/Makefile
@@ -8,8 +8,9 @@ PKG_VERSION:= c18a46eff706e956c4dc755144d752dc163a1145
PKG_RELEASE:= 1
PKG_DESCR:= intercepts and records dynamic library calls
PKG_SECTION:= app/debug
-PKG_DEPENDS:= libelf libstdcxx
+PKG_DEPENDS:= libelf
PKG_BUILDDEP:= libelf
+PKG_NEEDS:= c++
PKG_URL:= http://ltrace.org/
PKG_SITES:= git://git.debian.org/git/collab-maint/ltrace.git
diff --git a/package/maradns/Makefile b/package/maradns/Makefile
index 81cb67343..5a9d7391b 100644
--- a/package/maradns/Makefile
+++ b/package/maradns/Makefile
@@ -9,7 +9,8 @@ PKG_RELEASE:= 1
PKG_HASH:= 661ea06fb18df6d2469b2bf824ffd93545a091af185362cbc738d1aa408210c3
PKG_DESCR:= small and secure DNS server
PKG_SECTION:= net/dns
-PKG_DEPENDS:= libpthread librt duende
+PKG_DEPENDS:= duende
+PKG_NEEDS:= threads rt
PKG_URL:= http://www.maradns.org
PKG_SITES:= http://maradns.samiam.org/download/2.0/${PKG_VERSION}/
PKG_NOPARALLEL:= 1
diff --git a/package/mesa/Makefile b/package/mesa/Makefile
index 071357eaf..4e3941974 100644
--- a/package/mesa/Makefile
+++ b/package/mesa/Makefile
@@ -10,11 +10,12 @@ PKG_HASH:= b04c4de6280b863babc2929573da17218d92e9e4ba6272d548d135415723e8c3
PKG_DESCR:= 3d graphics library
PKG_SECTION:= libs/video
PKG_DEPENDS:= libxdamage libxfixes libdrm libxxf86vm libexpat
-PKG_DEPENDS+= libxml2 libxml2-python libstdcxx
+PKG_DEPENDS+= libxml2 libxml2-python
PKG_BUILDDEP:= python2 libxml2 libXdamage libXfixes
PKG_BUILDDEP+= libXxf86vm libdrm dri2proto glproto expat libXext
PKG_BUILDDEP+= eudev dri3proto presentproto xcb-proto libxcb
PKG_BUILDDEP+= libxshmfence
+PKG_NEEDS:= c++
PKG_URL:= http://www.mesa3d.org/
PKG_SITES:= ftp://ftp.freedesktop.org/pub/mesa/${PKG_VERSION}/
PKG_LIBNAME:= mesa
diff --git a/package/mongrel2/Makefile b/package/mongrel2/Makefile
index 271e3e924..990012b68 100644
--- a/package/mongrel2/Makefile
+++ b/package/mongrel2/Makefile
@@ -10,7 +10,8 @@ PKG_HASH:= dc491c9b06f1b32020fd977737fa16f99af6d99e7bfb2f80fcc53278dd44f398
PKG_DESCR:= application, language, and network architecture agnostic web server
PKG_SECTION:= net/http
PKG_BUILDDEP:= zeromq sqlite
-PKG_DEPENDS:= zeromq libsqlite libpthread librt libstdcxx
+PKG_DEPENDS:= zeromq libsqlite
+PKG_NEEDS:= threads rt c++
PKG_URL:= http://mongrel2.org
PKG_SITES:= https://github.com/zedshaw/mongrel2/releases/download/v1.9.1/
diff --git a/package/monit/Makefile b/package/monit/Makefile
index 1bbfe7bd6..0d712c1a2 100644
--- a/package/monit/Makefile
+++ b/package/monit/Makefile
@@ -9,7 +9,7 @@ PKG_RELEASE:= 2
PKG_HASH:= 38e09bd8b39abc59e6b9a9bb7a78f7eac2b02a92f4de1f3a6dc24e84dfedae0d
PKG_DESCR:= utility for system services monitoring
PKG_SECTION:= sys/misc
-PKG_DEPENDS:= libpthread
+PKG_NEEDS:= threads
PKG_URL:= http://mmonit.com/monit/
PKG_SITES:= http://www.tildeslash.com/monit/dist/
diff --git a/package/mosquitto/Makefile b/package/mosquitto/Makefile
index cae1ec17b..9c1060eb8 100644
--- a/package/mosquitto/Makefile
+++ b/package/mosquitto/Makefile
@@ -9,8 +9,9 @@ PKG_RELEASE:= 1
PKG_HASH:= c643c7123708aadcd29287dda7b5ce7c910f75b02956a8fc4fe65ad2ea767a5f
PKG_DESCR:= mqtt broker
PKG_SECTION:= net/misc
-PKG_DEPENDS:= c-ares librt libpthreads
+PKG_DEPENDS:= c-ares
PKG_BUILDDEP:= cmake-host c-ares
+PKG_NEEDS:= threads rt
PKG_URL:= http://mosquitto.org
PKG_SITES:= http://mosquitto.org/files/source/
diff --git a/package/motion/Makefile b/package/motion/Makefile
index 5b6d9a5f0..4e2c7d4f7 100644
--- a/package/motion/Makefile
+++ b/package/motion/Makefile
@@ -10,8 +10,9 @@ PKG_RELEASE:= 2
PKG_HASH:= ff2931b0af037da126fed3e496430944132528132e71473aae478ff2e7f78e0d
PKG_DESCR:= webcam motion sensing and logging
PKG_SECTION:= mm/video
-PKG_DEPENDS:= libjpeg-turbo libpthread libsdl
+PKG_DEPENDS:= libjpeg-turbo libsdl
PKG_BUILDDEP:= libjpeg-turbo sdl
+PKG_NEEDS:= threads
PKG_URL:= http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome
PKG_SITES:= http://distfiles.openadk.org/
diff --git a/package/mpd/Makefile b/package/mpd/Makefile
index 8750da211..c8f6f4085 100644
--- a/package/mpd/Makefile
+++ b/package/mpd/Makefile
@@ -9,9 +9,10 @@ PKG_RELEASE:= 1
PKG_HASH:= 7a5c66aa5af97a5b7af3dc49e3d2594071dafd62a14e2e9f7c9a5a86342836c6
PKG_DESCR:= music player daemon
PKG_SECTION:= mm/audio
-PKG_DEPENDS:= glib libstdcxx libmpdclient librt boost libncurses
-PKG_FDEPENDS:= glib libstdcxx libmpdclient librt
+PKG_DEPENDS:= glib libmpdclient boost libncurses
PKG_BUILDDEP:= glib libmpdclient boost ncurses
+PKG_FDEPENDS:= glib libmpdclient
+PKG_NEEDS:= threads rt c++
PKG_URL:= http://www.musicpd.org/
PKG_SITES:= http://www.musicpd.org/download/mpd/0.19/
diff --git a/package/mpg123/Makefile b/package/mpg123/Makefile
index 72d15fce0..7629c9a86 100644
--- a/package/mpg123/Makefile
+++ b/package/mpg123/Makefile
@@ -9,8 +9,9 @@ PKG_RELEASE:= 1
PKG_HASH:= 6d1e2487777114ba8a73c543f355cacfa2055646724000fc195ac9e64c843744
PKG_DESCR:= mp3 console player
PKG_SECTION:= mm/audio
-PKG_DEPENDS:= libpthread librt alsa-lib
+PKG_DEPENDS:= alsa-lib
PKG_BUILDDEP:= alsa-lib
+PKG_NEEDS:= threads rt
PKG_URL:= http://www.mpg123.de/
PKG_SITES:= http://www.mpg123.de/download/
diff --git a/package/mplayer/Makefile b/package/mplayer/Makefile
index 4bc89910c..301cad9b7 100644
--- a/package/mplayer/Makefile
+++ b/package/mplayer/Makefile
@@ -10,12 +10,13 @@ PKG_HASH:= ffe7f6f10adf2920707e8d6c04f0d3ed34c307efc6cd90ac46593ee8fba2e2b6
PKG_DESCR:= popular video player
PKG_SECTION:= mm/video
PKG_DEPENDS:= alsa-lib libjpeg-turbo libfaad2 libmad libncurses
-PKG_DEPENDS+= libogg libpng libpthread libvorbis giflib
+PKG_DEPENDS+= libogg libpng libvorbis giflib
PKG_DEPENDS+= libx11 libxau libxdmcp libxext libxv zlib
PKG_DEPENDS+= libxscrnsaver libtheora libxvid libvpx
PKG_BUILDDEP:= alsa-lib libmad libvorbis faad2 ncurses zlib
PKG_BUILDDEP+= libX11 libXv libpng libXext libjpeg-turbo libtheora
PKG_BUILDDEP+= xvidcore libvpx gettext-tiny
+PKG_NEEDS:= threads
PKG_URL:= http://www.mplayerhq.hu/
PKG_SITES:= http://www.mplayerhq.hu/MPlayer/releases/
diff --git a/package/neon/Makefile b/package/neon/Makefile
index 3da8b26f4..68aa18e19 100644
--- a/package/neon/Makefile
+++ b/package/neon/Makefile
@@ -9,8 +9,9 @@ PKG_RELEASE:= 1
PKG_HASH:= 00c626c0dc18d094ab374dbd9a354915bfe4776433289386ed489c2ec0845cdd
PKG_DESCR:= http and webdav library
PKG_SECTION:= libs/misc
-PKG_DEPENDS:= libpthread libxml2 zlib
-PKG_BUILDDEP:= libpthread libxml2 zlib
+PKG_DEPENDS:= libxml2 zlib
+PKG_BUILDDEP:= libxml2 zlib
+PKG_NEEDS:= threads
PKG_URL:= http://webdav.org/neon/
PKG_SITES:= http://webdav.org/neon/
PKG_OPTS:= dev
diff --git a/package/nfs-utils/Makefile b/package/nfs-utils/Makefile
index d47c27c66..636cd9269 100644
--- a/package/nfs-utils/Makefile
+++ b/package/nfs-utils/Makefile
@@ -9,8 +9,9 @@ PKG_RELEASE:= 1
PKG_HASH:= 5b9c72eef260b86a84619771e11bb013b99431e6b7ff0bbdc03fee90dba591f7
PKG_DESCR:= network filesystem utilities
PKG_SECTION:= net/fs
-PKG_DEPENDS:= keyutils libtirpc rpcbind libdevmapper libpthread
+PKG_DEPENDS:= keyutils libtirpc rpcbind libdevmapper
PKG_BUILDDEP:= keyutils libtirpc lvm
+PKG_NEEDS:= threads
PKG_URL:= http://sourceforge.net/projects/nfs
PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=nfs/}
diff --git a/package/nginx/Makefile b/package/nginx/Makefile
index 5e80b98fa..bc4c08a47 100644
--- a/package/nginx/Makefile
+++ b/package/nginx/Makefile
@@ -10,7 +10,8 @@ PKG_HASH:= 23cca1239990c818d8f6da118320c4979aadf5386deda691b1b7c2c96b9df3d5
PKG_DESCR:= powerful http reverse proxy and webserver
PKG_SECTION:= net/http
PKG_BUILDDEP:= pcre zlib
-PKG_DEPENDS:= libpcre libpthread zlib
+PKG_DEPENDS:= libpcre zlib
+PKG_NEEDS:= threads
PKG_URL:= http://nginx.org/
PKG_SITES:= http://nginx.org/download/
diff --git a/package/nmap/Makefile b/package/nmap/Makefile
index 175816fef..a2f64c697 100644
--- a/package/nmap/Makefile
+++ b/package/nmap/Makefile
@@ -9,8 +9,9 @@ PKG_RELEASE:= 1
PKG_HASH:= 3f89d9053c69507fe9533c40188a6561d49607a37b1db6380aed9039d4883137
PKG_DESCR:= utility for network exploration or security auditing
PKG_SECTION:= net/security
-PKG_DEPENDS:= libdnet libpcap libpcre libstdcxx
+PKG_DEPENDS:= libdnet libpcap libpcre
PKG_BUILDDEP:= libdnet libpcap pcre
+PKG_NEEDS:= c++
PKG_URL:= http://nmap.org/
PKG_SITES:= http://download.insecure.org/nmap/dist/
diff --git a/package/ntpclient/Makefile b/package/ntpclient/Makefile
index c431a596e..a08a3aec8 100644
--- a/package/ntpclient/Makefile
+++ b/package/ntpclient/Makefile
@@ -9,7 +9,7 @@ PKG_RELEASE:= 2
PKG_HASH:= 9ad9b028385082fb804167f464e2db0a0b3d33780acd399327e64898b8fcfddd
PKG_DESCR:= client for setting system time from ntp servers
PKG_SECTION:= net/ntp
-PKG_DEPENDS:= libpthread
+PKG_NEEDS:= threads
PKG_URL:= http://doolittle.icarus.com/ntpclient/
PKG_SITES:= http://doolittle.icarus.com/ntpclient/
diff --git a/package/omxplayer/Makefile b/package/omxplayer/Makefile
index fe47f3970..762f62da9 100644
--- a/package/omxplayer/Makefile
+++ b/package/omxplayer/Makefile
@@ -9,9 +9,9 @@ PKG_RELEASE:= 1
PKG_DESCR:= video player for raspberry pi
PKG_SECTION:= mm/video
PKG_DEPENDS:= libffmpeg bcm28xx-vc-libs bcm28xx-vc-gl-libs
-PKG_DEPENDS+= librt zlib libpthread libstdcxx libdbus
-PKG_DEPENDS+= boost libfreetype libpcre
+PKG_DEPENDS+= zlib libdbus boost libfreetype libpcre
PKG_BUILDDEP:= ffmpeg boost bcm28xx-vc freetype pcre dbus
+PKG_NEEDS:= threads rt c++
PKG_URL:= https://github.com/popcornmix/omxplayer
PKG_SITES:= https://github.com/popcornmix/omxplayer.git
diff --git a/package/openjdk7/Makefile b/package/openjdk7/Makefile
index bb6b258ed..dfd351efd 100644
--- a/package/openjdk7/Makefile
+++ b/package/openjdk7/Makefile
@@ -15,9 +15,10 @@ PKG_BUILDDEP+= libpng giflib libgtk2 glib fontconfig nss
HOST_BUILDDEP:= fastjar-host gcj-host ecj-host unzip-host ant-host
HOST_BUILDDEP+= libXtst-host libXt-host libXinerama-host libXrender-host
HOST_BUILDDEP+= cups-host qemu-host alsa-lib-host freetype-host libxslt-host
-PKG_DEPENDS:= zlib libstdcxx libffi libpthread libxtst libxi cups
-PKG_DEPENDS+= libfreetype libxrender libx11 libxext libpthread nss libjpeg-turbo
+PKG_DEPENDS:= zlib libffi libxtst libxi cups
+PKG_DEPENDS+= libfreetype libxrender libx11 libxext nss libjpeg-turbo
PKG_DEPENDS+= libpng giflib libgtk2 glib fontconfig
+PKG_NEEDS:= threads c++
PKG_URL:= http://openjdk.org/
PKG_SITES:= http://icedtea.classpath.org/download/source/
diff --git a/package/openldap/Makefile b/package/openldap/Makefile
index 0b14f8be9..005de3b3e 100644
--- a/package/openldap/Makefile
+++ b/package/openldap/Makefile
@@ -9,8 +9,9 @@ PKG_RELEASE:= 1
PKG_HASH:= eeb7b0e2c5852bfd2650e83909bb6152835c0b862fab10b63954dc1bcbba8e63
PKG_DESCR:= ldap client libraries
PKG_SECTION:= libs/misc
-PKG_DEPENDS:= libsasl2 libdb libpthread libuuid libstdcxx libncurses
+PKG_DEPENDS:= libsasl2 libdb libuuid libncurses
PKG_BUILDDEP:= cyrus-sasl db util-linux
+PKG_NEEDS:= threads c++
PKG_URL:= http://www.openldap.org/
PKG_SITES:= ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/
PKG_LIBNAME:= libopenldap
diff --git a/package/openssh/Makefile b/package/openssh/Makefile
index 24b106cb0..d2ad8ddf3 100644
--- a/package/openssh/Makefile
+++ b/package/openssh/Makefile
@@ -10,7 +10,8 @@ PKG_HASH:= fc0a6d2d1d063d5c66dffd952493d0cda256cad204f681de0f84ef85b2ad8428
PKG_DESCR:= secure shell implementation
PKG_SECTION:= net/security
PKG_BUILDDEP:= zlib
-PKG_DEPENDS:= zlib libpthread
+PKG_DEPENDS:= zlib
+PKG_NEEDS:= threads
PKG_URL:= http://www.openssh.com/
PKG_SITES:= ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/
diff --git a/package/openswan/Makefile b/package/openswan/Makefile
index fab5a154a..eb335cbcb 100644
--- a/package/openswan/Makefile
+++ b/package/openswan/Makefile
@@ -9,8 +9,9 @@ PKG_RELEASE:= 1
PKG_HASH:= ac7ef1d78766801f23c458cc7c3b080ca6e20c5144a1979598c319bc3bc7c88b
PKG_DESCR:= ipsec software
PKG_SECTION:= net/security
-PKG_DEPENDS:= libgmp libpthread
+PKG_DEPENDS:= libgmp
PKG_BUILDDEP:= gmp
+PKG_NEEDS:= threads
PKG_URL:= http://www.openswan.org/
PKG_SITES:= http://www.openswan.org/download/
PKG_NOPARALLEL:= 1
diff --git a/package/opkg/Makefile b/package/opkg/Makefile
index 6aea87f9d..1cc0a4818 100644
--- a/package/opkg/Makefile
+++ b/package/opkg/Makefile
@@ -8,8 +8,9 @@ PKG_VERSION:= 0.2.4
PKG_RELEASE:= 1
PKG_HASH:= 0f40c7e457d81edf9aedc07c778f4697111ab163a38ef95999faece015453086
PKG_DESCR:= embedded package manager
-PKG_DEPENDS:= libcurl libpthread
+PKG_DEPENDS:= libcurl
PKG_BUILDDEP:= curl
+PKG_NEEDS:= threads
PKG_SECTION:= sys/misc
PKG_URL:= https://code.google.com/p/opkg/
PKG_SITES:= http://downloads.yoctoproject.org/releases/opkg/
diff --git a/package/oprofile/Makefile b/package/oprofile/Makefile
index ee6286ea1..13f4f35a4 100644
--- a/package/oprofile/Makefile
+++ b/package/oprofile/Makefile
@@ -9,8 +9,9 @@ PKG_RELEASE:= 1
PKG_HASH:= 847110b4ecdcf8c8353cd38f94c1b704aad4bfcd9453e38b88d112cfb7e3c45a
PKG_DESCR:= system-wide profiles
PKG_SECTION:= app/debug
-PKG_DEPENDS:= libpopt libbfd libstdcxx
+PKG_DEPENDS:= libpopt libbfd
PKG_BUILDDEP:= popt binutils gcc
+PKG_NEEDS:= c++
PKG_URL:= http://oprofile.sourceforge.net/
PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=oprofile/}
diff --git a/package/pango/Makefile b/package/pango/Makefile
index c74fd3c9c..b3935d70e 100644
--- a/package/pango/Makefile
+++ b/package/pango/Makefile
@@ -10,9 +10,9 @@ PKG_RELEASE:= 1
PKG_HASH:= 1320569f6c6d75d6b66172b2d28e59c56ee864ee9df202b76799c4506a214eb7
PKG_DESCR:= library for laying out and rendering of text
PKG_SECTION:= libs/fonts
-PKG_DEPENDS:= libstdcxx
PKG_BUILDDEP:= libXft glib cairo harfbuzz libstdcxx fontconfig
HOST_BUILDDEP:= cairo-host harfbuzz-host
+PKG_NEEDS:= c++
PKG_URL:= http://www.pango.org/
PKG_SITES:= $(MASTER_SITE_GNOME:=pango/$(PKG_EXTRAVER)/)
PKG_OPTS:= dev
diff --git a/package/parprouted/Makefile b/package/parprouted/Makefile
index 501e7a9fe..8f625e1db 100644
--- a/package/parprouted/Makefile
+++ b/package/parprouted/Makefile
@@ -9,7 +9,7 @@ PKG_RELEASE:= 1
PKG_HASH:= d63643c95d4149a3d71112da5892f459433456bf0279bfa304625f109178defc
PKG_DESCR:= proxy arp daemon
PKG_SECTION:= net/misc
-PKG_DEPENDS:= libpthread
+PKG_NEEDS:= threads
PKG_URL:= http://www.hazard.maks.net/parprouted/
PKG_SITES:= http://www.hazard.maks.net/parprouted/
diff --git a/package/parted/Makefile b/package/parted/Makefile
index bd297c6bc..cba92d8aa 100644
--- a/package/parted/Makefile
+++ b/package/parted/Makefile
@@ -9,8 +9,9 @@ PKG_RELEASE:= 2
PKG_HASH:= 858b589c22297cacdf437f3baff6f04b333087521ab274f7ab677cb8c6bb78e4
PKG_DESCR:= partition table editor
PKG_SECTION:= sys/fs
-PKG_DEPENDS:= libblkid libuuid libpthread libncurses
+PKG_DEPENDS:= libblkid libuuid libncurses
PKG_BUILDDEP:= util-linux ncurses
+PKG_NEEDS:= threads
PKG_URL:= http://www.gnu.org/software/parted/index.shtml
PKG_SITES:= $(MASTER_SITE_GNU:=parted/)
diff --git a/package/patchelf/Makefile b/package/patchelf/Makefile
index 75f85c9b4..2999c7281 100644
--- a/package/patchelf/Makefile
+++ b/package/patchelf/Makefile
@@ -9,7 +9,7 @@ PKG_RELEASE:= 1
PKG_HASH:= 14af06a2da688d577d64ff8dac065bb8903bbffbe01d30c62df7af9bf4ce72fe
PKG_DESCR:= elf manipulation tool
PKG_SECTION:= dev/tools
-PKG_DEPENDS:= libstdcxx
+PKG_NEEDS:= c++
PKG_URL:= http://nixos.org/releases/patchelf
PKG_SITES:= http://nixos.org/releases/patchelf/patchelf-0.8/
diff --git a/package/pcsc-lite/Makefile b/package/pcsc-lite/Makefile
index 4690f0656..4596ed187 100644
--- a/package/pcsc-lite/Makefile
+++ b/package/pcsc-lite/Makefile
@@ -9,8 +9,9 @@ PKG_RELEASE:= 1
PKG_HASH:= f315047e808d63a3262c4a040f77548af2e04d1fd707e0c2759369b926fbbc3b
PKG_DESCR:= middleware for smartcards
PKG_SECTION:= app/crypto
-PKG_DEPENDS:= libusb libusb-compat libpthread
+PKG_DEPENDS:= libusb libusb-compat
PKG_BUILDDEP:= libusb libusb-compat
+PKG_NEEDS:= threads
PKG_URL:= http://pcsclite.alioth.debian.org/
PKG_SITES:= https://alioth.debian.org/frs/download.php/file/4126/
PKG_OPTS:= dev
diff --git a/package/pdnsd/Makefile b/package/pdnsd/Makefile
index e71dd4307..0cc15e88f 100644
--- a/package/pdnsd/Makefile
+++ b/package/pdnsd/Makefile
@@ -9,7 +9,7 @@ PKG_RELEASE:= 1
PKG_HASH:= bb5835d0caa8c4b31679d6fd6a1a090b71bdf70950db3b1d0cea9cf9cb7e2a7b
PKG_DESCR:= proxy dns server
PKG_SECTION:= net/dns
-PKG_DEPENDS:= libpthread
+PKG_NEEDS:= threads
PKG_URL:= http://members.home.nl/p.a.rombouts/pdnsd/index.html
PKG_SITES:= http://members.home.nl/p.a.rombouts/pdnsd/releases/
diff --git a/package/perl/Makefile b/package/perl/Makefile
index afb2aa387..737a3e80a 100644
--- a/package/perl/Makefile
+++ b/package/perl/Makefile
@@ -9,8 +9,8 @@ PKG_RELEASE:= 3
PKG_HASH:= 655e11a8ffba8853efcdce568a142c232600ed120ac24aaebb4e6efe74e85b2b
PKG_DESCR:= perl interpreter
PKG_SECTION:= dev/lang
-PKG_DEPENDS:= librt libpthread
PKG_BUILDDEP:= perl-host
+PKG_NEEDS:= threads rt
PKG_URL:= http://www.perl.org/
PKG_SITES:= http://www.cpan.org/src/
PKG_NOPARALLEL:= 1
diff --git a/package/php/Makefile b/package/php/Makefile
index a06e29b54..2751f83f1 100644
--- a/package/php/Makefile
+++ b/package/php/Makefile
@@ -9,7 +9,7 @@ PKG_RELEASE:= 1
PKG_HASH:= cf52e2e621e60997269663fa4bc06253191fa2a41dc9b08c8c911435b3ebcca9
PKG_DESCR:= php language interpreter
PKG_SECTION:= dev/lang
-PKG_DEPENDS:= libpthread librt
+PKG_NEEDS:= threads rt
PHP_URL:= http://www.php.net/
PKG_SITES:= http://de.php.net/distributions/
diff --git a/package/poppler/Makefile b/package/poppler/Makefile
index 56729c6c9..9ed8d6774 100644
--- a/package/poppler/Makefile
+++ b/package/poppler/Makefile
@@ -9,8 +9,9 @@ PKG_RELEASE:= 2
PKG_HASH:= a2654910100c923c44e366242495e226db2798254f2fa2781138867348759f84
PKG_DESCR:= pdf rendering library
PKG_SECTION:= libs/misc
-PKG_BUILDDEP:= fontconfig libstdcxx libpng cairo
-PKG_DEPENDS:= fontconfig libstdcxx libpng cairo
+PKG_BUILDDEP:= fontconfig libpng cairo
+PKG_DEPENDS:= fontconfig libpng cairo
+PKG_NEEDS:= c++
PKG_URL:= http://poppler.freedesktop.org/
PKG_SITES:= http://poppler.freedesktop.org/
PKG_OPTS:= dev
diff --git a/package/privoxy/Makefile b/package/privoxy/Makefile
index 670d89dab..942191756 100644
--- a/package/privoxy/Makefile
+++ b/package/privoxy/Makefile
@@ -10,8 +10,9 @@ PKG_VARIANT:= stable
PKG_HASH:= 816e627b31caa3d9e71d0a8b83ac9ea7dcbeaaafef3c9a9c792696aa56255232
PKG_DESCR:= web proxy with advanced filtering capabilities
PKG_SECTION:= net/proxy
-PKG_DEPENDS:= libpthread libpcre
+PKG_DEPENDS:= libpcre
PKG_BUILDDEP:= pcre
+PKG_NEEDS:= threads
PKG_URL:= http://www.privoxy.org/
PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=ijbswa/}
diff --git a/package/ptunnel/Makefile b/package/ptunnel/Makefile
index b5764500c..e7940b404 100644
--- a/package/ptunnel/Makefile
+++ b/package/ptunnel/Makefile
@@ -9,8 +9,9 @@ PKG_RELEASE:= 2
PKG_HASH:= 9f19f05f772cd7caba52a0f0adf9fd93d5fab8f6c50fc7fada0505294bd0aac3
PKG_DESCR:= tunnel tcp connections over icmp packets
PKG_SECTION:= net/security
-PKG_DEPENDS:= libpcap libpthread
+PKG_DEPENDS:= libpcap
PKG_BUILDDEP:= libpcap
+PKG_NEEDS:= threads
PKG_URL:= http://www.cti.ecp.fr/~beauxir5/ptunnel/
PKG_SITES:= http://www.cti.ecp.fr/~beauxir5/ptunnel/
diff --git a/package/pulseaudio/Makefile b/package/pulseaudio/Makefile
index cffe80602..ad72ddb02 100644
--- a/package/pulseaudio/Makefile
+++ b/package/pulseaudio/Makefile
@@ -11,9 +11,10 @@ PKG_DESCR:= sound system
PKG_SECTION:= mm/audio
PKG_DEPENDS:= libltdl json-c libsndfile libspeex libncurses
PKG_DEPENDS+= libflac libvorbis libogg libuuid libsndfile
-PKG_DEPENDS+= libpthread librt alsa-lib libsamplerate
+PKG_DEPENDS+= alsa-lib libsamplerate
PKG_BUILDDEP:= libtool json-c libsndfile speex libsamplerate
PKG_BUILDDEP+= flac libvorbis libogg util-linux ncurses alsa-lib
+PKG_NEEDS:= threads rt
PKG_URL:= http://www.freedesktop.org/wiki/Software/PulseAudio/
PKG_SITES:= http://freedesktop.org/software/pulseaudio/releases/
PKG_OPTS:= dev
diff --git a/package/python2/Makefile b/package/python2/Makefile
index bea709675..72b9f0574 100644
--- a/package/python2/Makefile
+++ b/package/python2/Makefile
@@ -9,9 +9,10 @@ PKG_RELEASE:= 1
PKG_HASH:= eda8ce6eec03e74991abb5384170e7c65fcd7522e409b8e83d7e6372add0f12a
PKG_DESCR:= python scripting language (Version 2)
PKG_SECTION:= dev/lang
+PKG_DEPENDS:= libffi
PKG_BUILDDEP:= libffi python2-host
HOST_BUILDDEP:= libffi-host bzip2-host libressl-host
-PKG_DEPENDS:= libpthread libffi
+PKG_NEEDS:= threads
PKG_URL:= http://www.python.org/
PKG_SITES:= http://www.python.org/ftp/python/${PKG_VERSION}/
PKG_OPTS:= dev
diff --git a/package/python3/Makefile b/package/python3/Makefile
index 76e7a27b5..376a3682b 100644
--- a/package/python3/Makefile
+++ b/package/python3/Makefile
@@ -9,9 +9,10 @@ PKG_RELEASE:= 1
PKG_HASH:= b5b3963533768d5fc325a4d7a6bd6f666726002d696f1d399ec06b043ea996b8
PKG_DESCR:= python scripting language (version 3)
PKG_SECTION:= dev/lang
-PKG_DEPENDS:= libpthread libffi
+PKG_DEPENDS:= libffi
PKG_BUILDDEP:= python3-host libffi
HOST_BUILDDEP:= libffi-host
+PKG_NEEDS:= threads
PKG_URL:= http://www.python.org/
PKG_SITES:= http://legacy.python.org/ftp/python/${PKG_VERSION}/
diff --git a/package/qingy/Makefile b/package/qingy/Makefile
index 1e2f1ef28..c821a4f66 100644
--- a/package/qingy/Makefile
+++ b/package/qingy/Makefile
@@ -9,8 +9,8 @@ PKG_RELEASE:= 3
PKG_HASH:= de4b4b398d5ba81ab2544729864676a04ddc6ae818b357ee09a8770293740cd3
PKG_DESCR:= directfb getty replacement
PKG_SECTION:= sys/misc
-PKG_DEPENDS:= directfb libncurses librt libpthread
-PKG_DEPENDS+= libstdcxx
+PKG_DEPENDS:= directfb libncurses
+PKG_NEEDS:= threads rt c++
PKG_BUILDDEP:= DirectFB ncurses
PKG_URL:= http://qingy.sourceforge.net/
PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=qingy/}
diff --git a/package/rsyslog/Makefile b/package/rsyslog/Makefile
index d829b39ae..9c0bcc5f9 100644
--- a/package/rsyslog/Makefile
+++ b/package/rsyslog/Makefile
@@ -9,10 +9,9 @@ PKG_RELEASE:= 1
PKG_HASH:= b92df3f367108219e2fffccd463bf49d75cb8ab3ceaa52e9789f85eace066912
PKG_DESCR:= syslog daemon
PKG_SECTION:= sys/misc
-PKG_BUILDDEP:= libestr liblogging json-c util-linux zlib
-PKG_BUILDDEP+= ncurses
-PKG_DEPENDS:= libestr liblogging json-c libuuid zlib
-PKG_DEPENDS+= libpthread librt libncurses
+PKG_BUILDDEP:= libestr liblogging json-c util-linux zlib ncurses
+PKG_DEPENDS:= libestr liblogging json-c libuuid zlib libncurses
+PKG_NEEDS:= threads rt
PKG_URL:= http://www.rsyslog.com/
PKG_SITES:= http://www.rsyslog.com/files/download/rsyslog/
diff --git a/package/rt-tests/Makefile b/package/rt-tests/Makefile
index 228fcfa8a..2f204973d 100644
--- a/package/rt-tests/Makefile
+++ b/package/rt-tests/Makefile
@@ -7,7 +7,7 @@ PKG_NAME:= rt-tests
PKG_VERSION:= 3fed00ff8d2c0cdbc5ba078cbd60ce3cfcee615f
PKG_RELEASE:= 1
PKG_DESCR:= realtime test apps
-PKG_DEPENDS:= libpthread librt
+PKG_NEEDS:= threads rt
PKG_SECTION:= app/debug
PKG_SITES:= git://git.kernel.org/pub/scm/linux/kernel/git/clrkwllms/rt-tests
diff --git a/package/rtorrent/Makefile b/package/rtorrent/Makefile
index 9b896e093..b75a3a008 100644
--- a/package/rtorrent/Makefile
+++ b/package/rtorrent/Makefile
@@ -9,8 +9,9 @@ PKG_RELEASE:= 1
PKG_HASH:= bc0a2c1ee613b68f37021beaf4e64a9252f91ed06f998c1e897897c354ce7e84
PKG_DESCR:= console torrent application
PKG_SECTION:= app/p2p
-PKG_DEPENDS:= libncurses libtorrent libcurl libstdcxx
+PKG_DEPENDS:= libncurses libtorrent libcurl
PKG_BUILDDEP:= ncurses libtorrent curl
+PKG_NEEDS:= c++
PKG_URL:= http://libtorrent.rakshasa.no/
PKG_SITES:= http://distfiles.openadk.org/
diff --git a/package/ruby/Makefile b/package/ruby/Makefile
index 973941523..591df9695 100644
--- a/package/ruby/Makefile
+++ b/package/ruby/Makefile
@@ -9,9 +9,9 @@ PKG_RELEASE:= 1
PKG_HASH:= df795f2f99860745a416092a4004b016ccf77e8b82dec956b120f18bdc71edce
PKG_DESCR:= scripting language
PKG_SECTION:= dev/lang
-PKG_DEPENDS:= librt libpthread
PKG_BUILDDEP:= ruby-host
HOST_BUILDDEP:= readline-host
+PKG_NEEDS:= threads rt
PKG_URL:= http://www.ruby-lang.org/
PKG_SITES:= http://ftp.ruby-lang.org/pub/ruby/2.2/
PKG_NOPARALLEL:= 1
diff --git a/package/rxvt-unicode/Makefile b/package/rxvt-unicode/Makefile
index 6937bc906..04e3c0c25 100644
--- a/package/rxvt-unicode/Makefile
+++ b/package/rxvt-unicode/Makefile
@@ -9,8 +9,9 @@ PKG_RELEASE:= 1
PKG_HASH:= 75270ed72bc5895a64a1d7392bf45a622204192371c3965bd3dd978dc088956b
PKG_DESCR:= terminal emulator with unicode support
PKG_SECTION:= x11/apps
-PKG_DEPENDS:= libx11 fontconfig libxft libxml2 gdk-pixbuf libstdcxx
+PKG_DEPENDS:= libx11 fontconfig libxft libxml2 gdk-pixbuf
PKG_BUILDDEP:= libX11 fontconfig libXft libxml2 gdk-pixbuf
+PKG_NEEDS:= c++
PKG_URL:= http://software.schmorp.de/pkg/rxvt-unicode.html
PKG_SITES:= http://dist.schmorp.de/rxvt-unicode/
diff --git a/package/samba/Makefile b/package/samba/Makefile
index 4dfd5b150..18e586deb 100644
--- a/package/samba/Makefile
+++ b/package/samba/Makefile
@@ -10,8 +10,9 @@ PKG_HASH:= 9908a80d95b9e2583906ed4347a8c80b769539a2788158992fb48ea9fb4d2c82
PKG_DESCR:= file and print server
PKG_SECTION:= net/fs
PKG_BUILDDEP:= gettext-tiny util-linux popt python2 gnutls
-PKG_BUILDDEP:= heimdal-host python2-host
-PKG_DEPENDS:= libpthread librt libuuid libpopt libgnutls
+PKG_BUILDDEP+= heimdal-host python2-host
+PKG_DEPENDS:= libuuid libpopt libgnutls
+PKG_NEEDS:= threads rt
PKG_URL:= http://www.samba.org/
PKG_SITES:= http://samba.org/samba/ftp/stable/
diff --git a/package/sane-backends/Makefile b/package/sane-backends/Makefile
index 9e912039a..fea9bd975 100644
--- a/package/sane-backends/Makefile
+++ b/package/sane-backends/Makefile
@@ -9,8 +9,8 @@ PKG_RELEASE:= 3
PKG_HASH:= 9f84a16800497f0b79a278531bb1a0f438de6ce8cf509fefc65a252e29f90c54
PKG_DESCR:= scanner access now easy
PKG_SECTION:= sys/misc
-PKG_DEPENDS:= libpthread
-PKG_BUILDDEP:= libpthread libusb libusb-compat
+PKG_BUILDDEP:= libusb libusb-compat
+PKG_NEEDS:= threads
PKG_URL:= http://www.sane-project.org/
PKG_SITES:= ftp://ftp2.sane-project.org/pub/sane/${PKG_NAME}-${PKG_VERSION}/
diff --git a/package/sdl-image/Makefile b/package/sdl-image/Makefile
index 71b99705a..77cbfafd1 100644
--- a/package/sdl-image/Makefile
+++ b/package/sdl-image/Makefile
@@ -9,9 +9,10 @@ PKG_RELEASE:= 1
PKG_HASH:= 0b90722984561004de84847744d566809dbb9daf732a9e503b91a1b5a84e5699
PKG_DESCR:= simple directmedia layer image library
PKG_SECTION:= libs/image
-PKG_DEPENDS:= libpng libtiff libjpeg-turbo libsdl libstdcxx
+PKG_DEPENDS:= libpng libtiff libjpeg-turbo libsdl
PKG_BUILDDEP:= libpng libtiff libjpeg-turbo sdl
HOST_BUILDDEP+= libpng-host
+PKG_NEEDS:= c++
PKG_URL:= http://www.libsdl.org/
PKG_SITES:= http://www.libsdl.org/projects/SDL_image/release/
PKG_LIBNAME:= libsdl-image
diff --git a/package/sdl/Makefile b/package/sdl/Makefile
index b2265c547..351a65f01 100644
--- a/package/sdl/Makefile
+++ b/package/sdl/Makefile
@@ -9,8 +9,9 @@ PKG_RELEASE:= 1
PKG_HASH:= d6d316a793e5e348155f0dd93b979798933fb98aa1edebcc108829d6474aad00
PKG_DESCR:= simple directmedia layer
PKG_SECTION:= libs/misc
-PKG_DEPENDS:= libusb alsa-lib libpthread libx11 libxext
+PKG_DEPENDS:= libusb alsa-lib libx11 libxext
PKG_BUILDDEP:= sdl-host libusb alsa-lib libX11 libXext
+PKG_NEEDS:= threads
PKG_URL:= http://www.libsdl.org/
PKG_SITES:= http://www.libsdl.org/release/
PKG_LIBNAME:= libsdl
diff --git a/package/siproxd/Makefile b/package/siproxd/Makefile
index 757ef5010..d57ea8888 100644
--- a/package/siproxd/Makefile
+++ b/package/siproxd/Makefile
@@ -9,8 +9,9 @@ PKG_RELEASE:= 1
PKG_HASH:= df2df04faf5bdb4980cbdfd5516a47898fc47ca1ebc2c628aa48305b20a09dad
PKG_DESCR:= session initiation protocol proxy
PKG_SECTION:= net/voip
-PKG_DEPENDS:= libosip2 libpthread
+PKG_DEPENDS:= libosip2
PKG_BUILDDEP:= libosip2
+PKG_NEEDS:= threads
PKG_URL:= http://siproxd.sourceforge.net
PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=siproxd/}
diff --git a/package/socat/Makefile b/package/socat/Makefile
index 55f32f8c6..678d90f48 100644
--- a/package/socat/Makefile
+++ b/package/socat/Makefile
@@ -9,7 +9,7 @@ PKG_RELEASE:= 1
PKG_HASH:= f8de4a2aaadb406a2e475d18cf3b9f29e322d4e5803d8106716a01fd4e64b186
PKG_DESCR:= multipurpose relay
PKG_SECTION:= net/misc
-PKG_DEPENDS:= libpthread
+PKG_NEEDS:= threads
PKG_URL:= http://www.dest-unreach.org/socat/
PKG_SITES:= http://www.dest-unreach.org/socat/download/
diff --git a/package/sox/Makefile b/package/sox/Makefile
index 0d81715df..daa64e41d 100644
--- a/package/sox/Makefile
+++ b/package/sox/Makefile
@@ -10,7 +10,8 @@ PKG_HASH:= b45f598643ffbd8e363ff24d61166ccec4836fea6d3888881b8df53e3bb55f6c
PKG_DESCR:= swiss army knife of sound processing programs
PKG_SECTION:= mm/audio
PKG_BUILDDEP:= zlib ncurses
-PKG_DEPENDS:= zlib libncurses librt libpthread
+PKG_DEPENDS:= zlib libncurses
+PKG_NEEDS:= threads rt
PKG_URL:= http://sox.sourceforge.net/
PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=sox/}
diff --git a/package/squeezelite/Makefile b/package/squeezelite/Makefile
index 281aa0724..efd4862b0 100644
--- a/package/squeezelite/Makefile
+++ b/package/squeezelite/Makefile
@@ -8,9 +8,9 @@ PKG_VERSION:= 8b8dfe6918ebe45ade5f3d9b68d453d7b8128d99
PKG_RELEASE:= 1
PKG_DESCR:= headless squeezebox emulator
PKG_SECTION:= mm/audio
-PKG_DEPENDS:= libflac alsa-lib libvorbis libmad
-PKG_DEPENDS+= libpthread librt libfaad2
+PKG_DEPENDS:= libflac alsa-lib libvorbis libmad libfaad2
PKG_BUILDDEP:= alsa-lib libmad flac libvorbis mpg123 faad2
+PKG_NEEDS:= threads rt
PKG_URL:= http://code.google.com/p/squeezelite/
PKG_SITES:= https://code.google.com/p/squeezelite.git
diff --git a/package/squid/Makefile b/package/squid/Makefile
index 86ad5f593..5382b7fa6 100644
--- a/package/squid/Makefile
+++ b/package/squid/Makefile
@@ -9,8 +9,9 @@ PKG_RELEASE:= 1
PKG_HASH:= cd080e8d5eaabebf6808792751322bd05f2a9c8fe4377f54c7155682ef6c38d5
PKG_DESCR:= web and cache proxy
PKG_SECTION:= net/proxy
-PKG_DEPENDS:= libpthread librt libstdcxx libltdl
+PKG_DEPENDS:= libltdl
PKG_BUILDDEP:= libtool
+PKG_NEEDS:= threads rt c++
PKG_URL:= http://www.squid-cache.org/
PKG_SITES:= http://www.squid-cache.org/Versions/v3/3.5/
diff --git a/package/strongswan/Makefile b/package/strongswan/Makefile
index 2551f524b..457e1c323 100644
--- a/package/strongswan/Makefile
+++ b/package/strongswan/Makefile
@@ -9,7 +9,7 @@ PKG_RELEASE:= 1
PKG_HASH:= ddb8a2780766af8273ef532e19c45aaeceef60e6f7e3583f6474216a2fc63309
PKG_DESCR:= ipsec vpn software
PKG_SECTION:= net/security
-PKG_DEPENDS:= libpthread
+PKG_NEEDS:= threads
PKG_URL:= http://strongswan.org/index.htm
PKG_SITES:= http://download.strongswan.org/
diff --git a/package/swconfig/Makefile b/package/swconfig/Makefile
index df897090c..4b24b4cac 100644
--- a/package/swconfig/Makefile
+++ b/package/swconfig/Makefile
@@ -8,8 +8,9 @@ PKG_VERSION:= 1.0
PKG_RELEASE:= 1
PKG_DESCR:= switch config tool
PKG_SECTION:= net/route
-PKG_DEPENDS:= libnl libpthread
+PKG_DEPENDS:= libnl
PKG_BUILDDEP:= libnl
+PKG_NEEDS:= threads
PKG_SYSTEM_DEPENDS:= mikrotik-rb4xx
diff --git a/package/sysdig/Makefile b/package/sysdig/Makefile
index e1d7f557a..dbb521557 100644
--- a/package/sysdig/Makefile
+++ b/package/sysdig/Makefile
@@ -8,8 +8,9 @@ PKG_VERSION:= d7f05fc973080f5471af596cbcc8e2b2efc9e934
PKG_RELEASE:= 1
PKG_DESCR:= system troubleshooting tool
PKG_SECTION:= app/debug
-PKG_DEPENDS:= libstdcxx zlib jsoncpp luajit
+PKG_DEPENDS:= zlib jsoncpp luajit
PKG_BUILDDEP:= cmake-host zlib jsoncpp luajit
+PKG_NEEDS:= c++
PKG_URL:= http://www.sysdig.org/
PKG_SITES:= https://github.com/draios/sysdig.git
diff --git a/package/tmux/Makefile b/package/tmux/Makefile
index 4759947e0..45f682636 100644
--- a/package/tmux/Makefile
+++ b/package/tmux/Makefile
@@ -10,7 +10,8 @@ PKG_HASH:= 795f4b4446b0ea968b9201c25e8c1ef8a6ade710ebca4657dd879c35916ad362
PKG_DESCR:= terminal multiplexer
PKG_SECTION:= sys/utils
PKG_BUILDDEP:= libevent ncurses
-PKG_DEPENDS:= libevent libncurses libpthread
+PKG_DEPENDS:= libevent libncurses
+PKG_NEEDS:= threads
PKG_URL:= http://tmux.github.io
PKG_SITES:= https://github.com/tmux/tmux/releases/download/2.0/
diff --git a/package/tntnet/Makefile b/package/tntnet/Makefile
index 8ab264a62..c48a070d3 100644
--- a/package/tntnet/Makefile
+++ b/package/tntnet/Makefile
@@ -9,8 +9,9 @@ PKG_RELEASE:= 2
PKG_HASH:= c83170d08ef04c5868051e1c28c74b9562fe71e9e8263828e755ad5bd3547521
PKG_DESCR:= small c++ application server
PKG_SECTION:= net/http
-PKG_DEPENDS:= cxxtools zlib libpthread libstdcxx
+PKG_DEPENDS:= cxxtools zlib
PKG_BUILDDEP:= cxxtools zlib
+PKG_NEEDS:= threads c++
PKG_URL:= http://www.tntnet.org/
PKG_SITES:= http://www.tntnet.org/download/
diff --git a/package/tor/Makefile b/package/tor/Makefile
index 62f29b3aa..3f4090442 100644
--- a/package/tor/Makefile
+++ b/package/tor/Makefile
@@ -9,8 +9,9 @@ PKG_RELEASE:= 1
PKG_HASH:= 4a6c29ad89a98d7832c599d9480d6d8e55355fb3b8f4b506c5df557f15942f9c
PKG_DESCR:= anonymous internet communication system
PKG_SECTION:= net/proxy
-PKG_DEPENDS:= libevent zlib libpthread
+PKG_DEPENDS:= libevent zlib
PKG_BUILDDEP:= libevent zlib
+PKG_NEEDS:= threads
PKG_URL:= https://www.torproject.org/
PKG_SITES:= https://www.torproject.org/dist/
diff --git a/package/trafshow/Makefile b/package/trafshow/Makefile
index 449d55f26..be8a9c09b 100644
--- a/package/trafshow/Makefile
+++ b/package/trafshow/Makefile
@@ -10,7 +10,8 @@ PKG_HASH:= ea7e22674a66afcc7174779d0f803c1f25b42271973b4f75fab293b8d7db11fc
PKG_DESCR:= traffic analyzing tool
PKG_SECTION:= net/perf
PKG_BUILDDEP:= libpcap ncurses
-PKG_DEPENDS:= libpcap libncurses libpthread
+PKG_DEPENDS:= libpcap libncurses
+PKG_NEEDS:= threads
PKG_SITES:= http://distfiles.openadk.org/
PKG_NOPARALLEL:= 1
diff --git a/package/tslib/Makefile b/package/tslib/Makefile
index 39ae607d9..72d6d74ae 100644
--- a/package/tslib/Makefile
+++ b/package/tslib/Makefile
@@ -10,7 +10,7 @@ PKG_RELEASE:= 1
PKG_HASH:= 4872cb7ce8cf3174fdab261a5aa87b19f62f3b5f49fa630658c78271c1816ae0
PKG_DESCR:= touchscreen library
PKG_SECTION:= libs/misc
-PKG_DEPENDS:= libstdcxx
+PKG_NEEDS:= c++
PKG_URL:= http://tslib.berlios.de/
PKG_SITES:= http://distfiles.openadk.org/
PKG_OPTS:= dev
diff --git a/package/twm/Makefile b/package/twm/Makefile
index 78b779c7c..a59d0e20d 100644
--- a/package/twm/Makefile
+++ b/package/twm/Makefile
@@ -9,8 +9,9 @@ PKG_RELEASE:= 1
PKG_HASH:= a0d3f2a9689594220220d32c3cd674056b91dbf7c6c352efe1ffb72d65c66f76
PKG_DESCR:= simple window manager
PKG_SECTION:= x11/apps
-PKG_DEPENDS:= xorg-server libstdcxx
+PKG_DEPENDS:= xorg-server
PKG_BUILDDEP:= xorg-server
+PKG_NEEDS:= c++
PKG_URL:= http://xorg.freedesktop.org/
PKG_SITES:= http://xorg.freedesktop.org/archive/individual/app/
diff --git a/package/usbutils/Makefile b/package/usbutils/Makefile
index 45bdbaa8f..d3de6a94d 100644
--- a/package/usbutils/Makefile
+++ b/package/usbutils/Makefile
@@ -9,8 +9,9 @@ PKG_RELEASE:= 2
PKG_HASH:= 44741af0bae9d402a0ef160a29b2fa700bb656ab5e0a4b3343d51249c2a44c8c
PKG_DESCR:= program to list usb devices
PKG_SECTION:= sys/hw
-PKG_DEPENDS:= libusb libusb-compat libpthread librt libudev udev
+PKG_DEPENDS:= libusb libusb-compat libudev udev
PKG_BUILDDEP:= libusb libusb-compat eudev
+PKG_NEEDS:= threads rt
PKG_SITES:= http://www.kernel.org/pub/linux/utils/usb/usbutils/
PKG_BB:= 1
diff --git a/package/vlc/Makefile b/package/vlc/Makefile
index b6a793471..5db3e61d2 100644
--- a/package/vlc/Makefile
+++ b/package/vlc/Makefile
@@ -10,7 +10,8 @@ PKG_HASH:= 543d9d7e378ec0fa1ee2e7f7f5acf8c456c7d0ecc32037171523197ef3cf1fcb
PKG_DESCR:= popular media player
PKG_SECTION:= mm/video
PKG_BUILDDEP:= ffmpeg xcb-util libgcrypt alsa-lib
-PKG_DEPENDS:= libpthread librt libffmpeg xcb-util libgcrypt alsa-lib
+PKG_DEPENDS:= libffmpeg xcb-util libgcrypt alsa-lib
+PKG_NEEDS:= threads rt
PKG_URL:= http://www.videolan.org/vlc/
PKG_SITES:= http://download.videolan.org/pub/videolan/vlc/$(PKG_VERSION)/
diff --git a/package/wiringPi/Makefile b/package/wiringPi/Makefile
index 67e27bb3e..816c682cc 100644
--- a/package/wiringPi/Makefile
+++ b/package/wiringPi/Makefile
@@ -9,7 +9,7 @@ PKG_RELEASE:= 2
PKG_DESCR:= gpio access library for the raspberry pi
PKG_SECTION:= libs/misc
PKG_HASH:= ddc71b86f71e7e5104a89f88a68bea20122b6ea9f8c535219d180bf89502a69d
-PKG_DEPENDS:= libpthread
+PKG_NEEDS:= threads
PKG_URL:= http://wiringpi.com/
PKG_SITES:= git://git.drogon.net/wiringPi
PKG_LIBNAME:= wiringpi
diff --git a/package/wpa_supplicant/Makefile b/package/wpa_supplicant/Makefile
index 8d0ef4564..6054457f3 100644
--- a/package/wpa_supplicant/Makefile
+++ b/package/wpa_supplicant/Makefile
@@ -9,8 +9,9 @@ PKG_RELEASE:= 1
PKG_HASH:= 058dc832c096139a059e6df814080f50251a8d313c21b13364c54a1e70109122
PKG_DESCR:= wpa supplicant
PKG_SECTION:= net/wifi
-PKG_DEPENDS:= libnl librt
+PKG_DEPENDS:= libnl
PKG_BUILDDEP:= libnl
+PKG_NEEDS:= threads rt
PKG_URL:= http://hostap.epitest.fi/wpa_supplicant/
PKG_SITES:= http://hostap.epitest.fi/releases/
diff --git a/package/xf86-input-keyboard/Makefile b/package/xf86-input-keyboard/Makefile
index 4d1e542f1..07a9c9a97 100644
--- a/package/xf86-input-keyboard/Makefile
+++ b/package/xf86-input-keyboard/Makefile
@@ -9,8 +9,9 @@ PKG_RELEASE:= 1
PKG_HASH:= a803ec6ee5c48fd6a24917902f49201459baa575459f9c585b25eeda77c32da7
PKG_DESCR:= x11 driver for keyboard
PKG_SECTION:= x11/drivers
-PKG_DEPENDS:= xorg-server libstdcxx
+PKG_DEPENDS:= xorg-server
PKG_BUILDDEP:= xorg-server
+PKG_NEEDS:= c++
PKG_SITES:= $(MASTER_SITE_XORG)
DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.gz
diff --git a/package/xf86-input-mouse/Makefile b/package/xf86-input-mouse/Makefile
index 8dc89b835..56eb87971 100644
--- a/package/xf86-input-mouse/Makefile
+++ b/package/xf86-input-mouse/Makefile
@@ -9,8 +9,9 @@ PKG_RELEASE:= 1
PKG_HASH:= e348aff7068affbc53620cc6ee67821064b32ace681c7c200c6ad3e74719b8da
PKG_DESCR:= x11 driver for mouse
PKG_SECTION:= x11/drivers
-PKG_DEPENDS:= xorg-server libstdcxx
+PKG_DEPENDS:= xorg-server
PKG_BUILDDEP:= xorg-server
+PKG_NEEDS:= c++
PKG_SITES:= $(MASTER_SITE_XORG)
DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.gz
diff --git a/package/xf86-video-ati/Makefile b/package/xf86-video-ati/Makefile
index 41ec73857..299776194 100644
--- a/package/xf86-video-ati/Makefile
+++ b/package/xf86-video-ati/Makefile
@@ -9,8 +9,9 @@ PKG_RELEASE:= 1
PKG_HASH:= dc0a00d1ea367e5f3e2baa0c1a0f8330c217f1d8c9d6e380757b945fb3bf6c61
PKG_DESCR:= x11 driver for ati vga chip
PKG_SECTION:= x11/drivers
-PKG_DEPENDS:= xorg-server libdrm mesa libudev libstdcxx
+PKG_DEPENDS:= xorg-server libdrm mesa libudev
PKG_BUILDDEP:= xorg-server libdrm xf86driproto mesa eudev
+PKG_NEEDS:= c++
PKG_SITES:= ${MASTER_SITE_XORG}
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
diff --git a/package/xf86-video-cirrus/Makefile b/package/xf86-video-cirrus/Makefile
index 47b618780..52f4d9baa 100644
--- a/package/xf86-video-cirrus/Makefile
+++ b/package/xf86-video-cirrus/Makefile
@@ -9,8 +9,9 @@ PKG_RELEASE:= 1
PKG_HASH:= 7c882c9064f58edf6cb08ef889b6e1d9e7bf6be0eb0002c052d5b4cb6a9bf74d
PKG_DESCR:= x11 driver for cirrus vga chips
PKG_SECTION:= x11/drivers
-PKG_DEPENDS:= xorg-server libstdcxx
+PKG_DEPENDS:= xorg-server
PKG_BUILDDEP:= xorg-server
+PKG_NEEDS:= c++
PKG_SITES:= ${MASTER_SITE_XORG}
PKG_SYSTEM_DEPENDS:= qemu-x86 qemu-x86_64
diff --git a/package/xf86-video-fbdev/Makefile b/package/xf86-video-fbdev/Makefile
index e8fed9ce9..2dd6ea0cf 100644
--- a/package/xf86-video-fbdev/Makefile
+++ b/package/xf86-video-fbdev/Makefile
@@ -9,8 +9,9 @@ PKG_RELEASE:= 1
PKG_HASH:= 49e545951ea5fddc0d9b3ed3bf60e9a588a9c09401cc93ac082e064530bc0f81
PKG_DESCR:= x11 driver for framebuffer devices
PKG_SECTION:= x11/drivers
-PKG_DEPENDS:= xorg-server libstdcxx
+PKG_DEPENDS:= xorg-server
PKG_BUILDDEP:= xorg-server
+PKG_NEEDS:= c++
PKG_SITES:= ${MASTER_SITE_XORG}
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
diff --git a/package/xf86-video-geode/Makefile b/package/xf86-video-geode/Makefile
index 658999109..13ea4b952 100644
--- a/package/xf86-video-geode/Makefile
+++ b/package/xf86-video-geode/Makefile
@@ -9,8 +9,9 @@ PKG_RELEASE:= 1
PKG_HASH:= 43e17e901eb8cefa985480680f5d02a78d1fae01327b663a7b3459ef98d75cba
PKG_DESCR:= x11 driver for amd geode vga chip
PKG_SECTION:= x11/drivers
-PKG_DEPENDS:= xorg-server libstdcxx
+PKG_DEPENDS:= xorg-server
PKG_BUILDDEP:= xorg-server
+PKG_NEEDS:= c++
PKG_SITES:= ${MASTER_SITE_XORG}
PKG_SYSTEM_DEPENDS:= pcengines-alix1c
diff --git a/package/xf86-video-intel/Makefile b/package/xf86-video-intel/Makefile
index 48df0bb44..561b3385d 100644
--- a/package/xf86-video-intel/Makefile
+++ b/package/xf86-video-intel/Makefile
@@ -9,8 +9,9 @@ PKG_RELEASE:= 1
PKG_HASH:= 1888f2733f8dccf4ab24bc56ba62eeac41c231b98365027438702d6c55216576
PKG_DESCR:= x11 driver for intel vga chips
PKG_SECTION:= x11/drivers
-PKG_DEPENDS:= xorg-server libdrm mesa libstdcxx libudev
+PKG_DEPENDS:= xorg-server libdrm mesa libudev
PKG_BUILDDEP:= xorg-server libdrm xf86driproto mesa eudev
+PKG_NEEDS:= c++
PKG_SITES:= $(MASTER_SITE_XORG)
PKG_SYSTEM_DEPENDS:= ibm-x40
diff --git a/package/xf86-video-modesetting/Makefile b/package/xf86-video-modesetting/Makefile
index 56073a2bd..b68ad99b9 100644
--- a/package/xf86-video-modesetting/Makefile
+++ b/package/xf86-video-modesetting/Makefile
@@ -9,8 +9,9 @@ PKG_RELEASE:= 1
PKG_HASH:= 7cb67bc95e83f195bc5f50b6af0b4ff66b5b9ccd16848613d55d732bc1e5fdb6
PKG_DESCR:= x11 driver for kms
PKG_SECTION:= x11/drivers
-PKG_DEPENDS:= xorg-server libstdcxx
+PKG_DEPENDS:= xorg-server
PKG_BUILDDEP:= xorg-server
+PKG_NEEDS:= c++
PKG_SITES:= ${MASTER_SITE_XORG}
PKG_SYSTEM_DEPENDS:= qemu-x86 qemu-x86_64
diff --git a/package/xf86-video-siliconmotion/Makefile b/package/xf86-video-siliconmotion/Makefile
index 5ccafd4ac..8a2b753ff 100644
--- a/package/xf86-video-siliconmotion/Makefile
+++ b/package/xf86-video-siliconmotion/Makefile
@@ -9,8 +9,9 @@ PKG_RELEASE:= 1
PKG_HASH:= 2c680f10fe4549db6d6699a537c2edd0ee4500379c23b1dfeac42864c7eae442
PKG_DESCR:= x11 driver for silicon motion vga chips
PKG_SECTION:= x11/drivers
-PKG_DEPENDS:= xorg-server libstdcxx
+PKG_DEPENDS:= xorg-server
PKG_BUILDDEP:= xorg-server
+PKG_NEEDS:= c++
PKG_SITES:= ${MASTER_SITE_XORG}
PKG_SYSTEM_DEPENDS:= lemote-yeelong
diff --git a/package/xfsprogs/Makefile b/package/xfsprogs/Makefile
index f10d6aa1a..f8ce0786d 100644
--- a/package/xfsprogs/Makefile
+++ b/package/xfsprogs/Makefile
@@ -10,7 +10,8 @@ PKG_HASH:= adf4980177b5c890c1ca86b9c0e3e4d69a3f95bfc01746844280c2393cf4d6be
PKG_DESCR:= utilities for xfs filesystems
PKG_SECTION:= sys/fs
PKG_BUILDDEP:= e2fsprogs util-linux ncurses
-PKG_DEPENDS:= libuuid libpthread libblkid librt libncurses
+PKG_DEPENDS:= libuuid libblkid libncurses
+PKG_NEEDS:= threads rt
PKG_URL:= http://oss.sgi.com/projects/xfs
PKG_SITES:= ftp://oss.sgi.com/projects/xfs/cmd_tars/ \
ftp://oss.sgi.com/projects/xfs/previous/cmd_tars/
diff --git a/package/xinit/Makefile b/package/xinit/Makefile
index a352a9495..cf65daeaf 100644
--- a/package/xinit/Makefile
+++ b/package/xinit/Makefile
@@ -9,8 +9,9 @@ PKG_RELEASE:= 6
PKG_HASH:= 3079d3fb86af99f4c2c2907b5725e5820fdb2144d3be6002ec367bfcebc5c480
PKG_DESCR:= x window system initializer
PKG_SECTION:= x11/utils
-PKG_DEPENDS:= xorg-server mcookie xauth xset xterm libstdcxx
+PKG_DEPENDS:= xorg-server mcookie xauth xset xterm
PKG_BUILDDEP:= xorg-server
+PKG_NEEDS:= c++
PKG_URL:= http://xorg.freedesktop.org/
PKG_SITES:= http://xorg.freedesktop.org/archive/individual/app/
diff --git a/package/xinput_calibrator/Makefile b/package/xinput_calibrator/Makefile
index de9f91eeb..e16e2c86f 100644
--- a/package/xinput_calibrator/Makefile
+++ b/package/xinput_calibrator/Makefile
@@ -9,7 +9,7 @@ PKG_RELEASE:= 2
PKG_HASH:= baa4ddca49ec94c27ba4c715bfa26692fec1132103e927213c3169e475d3d971
PKG_DESCR:= input calibration utility
PKG_SECTION:= x11/utils
-PKG_DEPENDS:= libstdcxx
+PKG_NEEDS:= c++
PKG_URL:= http://www.freedesktop.org/wiki/Software/xinput_calibrator/
PKG_SITES:= http://github.com/downloads/tias/xinput_calibrator/
diff --git a/package/xorg-server/Makefile b/package/xorg-server/Makefile
index d775eed7f..f275ab124 100644
--- a/package/xorg-server/Makefile
+++ b/package/xorg-server/Makefile
@@ -12,13 +12,14 @@ PKG_SECTION:= x11/drivers
PKG_DEPENDS:= libxfont pixman libpciaccess libxkbfile
PKG_DEPENDS+= libfontenc xkeyboard-config xkbcomp libxau libxaw
PKG_DEPENDS+= libxmu libxpm libxrender libxt libxxf86dga libxext
-PKG_DEPENDS+= libxdmcp libxv libsm libice libx11 libxcb librt
-PKG_DEPENDS+= libxshmfence libfreetype libfontenc libstdcxx libpciaccess
+PKG_DEPENDS+= libxdmcp libxv libsm libice libx11 libxcb
+PKG_DEPENDS+= libxshmfence libfreetype libfontenc libpciaccess
PKG_BUILDDEP:= libX11 randrproto renderproto fixesproto damageproto
PKG_BUILDDEP+= scrnsaverproto resourceproto fontsproto videoproto
PKG_BUILDDEP+= compositeproto evieext libxkbfile libXfont pixman
PKG_BUILDDEP+= libpciaccess xf86dgaproto recordproto
PKG_BUILDDEP+= xineramaproto presentproto
+PKG_NEEDS:= threads rt c++
PKG_URL:= http://www.x.org/
PKG_SITES:= ${MASTER_SITE_XORG}
PKG_OPTS:= dev