summaryrefslogtreecommitdiff
path: root/package/nagios-plugins/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-12-03 19:00:46 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-12-03 19:00:46 +0100
commitfe7a6fc28552b53dcdc45be775b0047f07b81030 (patch)
treec537f03fd3918d5b284aa93109da6a3a42aec1cc /package/nagios-plugins/Makefile
parentbde54d74d3750f9a9ca8645f87fdd42cf72031ce (diff)
fix build
Diffstat (limited to 'package/nagios-plugins/Makefile')
-rw-r--r--package/nagios-plugins/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/package/nagios-plugins/Makefile b/package/nagios-plugins/Makefile
index 9ef1f2689..eb95f694a 100644
--- a/package/nagios-plugins/Makefile
+++ b/package/nagios-plugins/Makefile
@@ -11,14 +11,17 @@ PKG_DESCR:= Nagios plugins
PKG_SECTION:= net
PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=nagiosplug/}
+PKG_HOST_DEPENDS:= !darwin
include $(TOPDIR)/mk/package.mk
$(eval $(call PKG_template,NAGIOS_PLUGINS,nagios-plugins,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+CONFIGURE_ENV+= ac_cv_lib_nsl_main=no
+
nagios-plugins-install:
- $(INSTALL_DIR) $(IDIR_NAGIOS_PLUGINS)/usr/bin
- $(INSTALL_BIN) $(WRKINST)/usr/bin/nagios-plugins \
- $(IDIR_NAGIOS_PLUGINS)/usr/bin
+ $(INSTALL_DIR) $(IDIR_NAGIOS_PLUGINS)/usr/libexec
+ $(CP) $(WRKINST)/usr/libexec/* \
+ $(IDIR_NAGIOS_PLUGINS)/usr/libexec
include ${TOPDIR}/mk/pkg-bottom.mk