summaryrefslogtreecommitdiff
path: root/package/nagios-plugins/Makefile
diff options
context:
space:
mode:
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