[packages] fixes nagios-plugins dependencies
[openwrt.org/packages.git] / admin / nagios-plugins / Makefile
blob:a/admin/nagios-plugins/Makefile -> blob:b/admin/nagios-plugins/Makefile
--- a/admin/nagios-plugins/Makefile
+++ b/admin/nagios-plugins/Makefile
@@ -9,7 +9,7 @@
 
 PKG_NAME:=nagios-plugins
 PKG_VERSION:=1.4.14
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=@SF/nagiosplug
@@ -26,7 +26,7 @@
 define Package/nagios-plugins
   SECTION:=admin
   CATEGORY:=Administration
-  DEPENDS:=+uclibcxx +libpq +libopenssl +libradiusclient-ng +libopenldap
+  DEPENDS:=$(CXX_DEPENDS) +libpq +libopenssl +libradiusclient-ng +libopenldap
   TITLE:=plugins for Nagios checks
   URL:=http://nagiosplug.sourceforge.net/
 endef
@@ -36,10 +36,10 @@
 	--with-openssl="$(STAGING_DIR)/usr" \
 	--with-ping-command="/bin/ping -w %d -c %d %s" \
 	--with-ping6-command="/bin/ping6 -w %d -c %d %s" \
-	--with-ps-command="/bin/ps -Aopid" \
+	--with-ps-command="/bin/ps w" \
 	--with-ps-cols="6" \
 	--with-ps-format="%d %s %d %s %s %n" \
-	--with-ps-varlist="&procuid$(comma)&procpid$(comma)&procvsz$(comma)procstat$(comma)procprog$(comma)&pos" \
+	--with-ps-varlist="&procpid$(comma)&procuid$(comma)&procvsz$(comma)procstat$(comma)procprog$(comma)&pos" \
 	--with-uptime-command="/usr/bin/uptime" \
 	--with-ssh-command="/usr/bin/ssh" \
 	--with-nslookup-command="/usr/bin/nslookup"

comments