X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=net%2Fnagios%2FMakefile;h=734caf6f1cf832d2f263af5afcd5a328e8a60daf;hb=5276e6c5f76c9cdad2488b30fb5d05a141670574;hp=22144466c1772624e6037b0ac60dbbfe1b53d4e6;hpb=57a4bb8327f38fa94df8d05fc2d0fd665124bca8;p=openwrt%2Fsvn-archive%2Farchive.git diff --git a/net/nagios/Makefile b/net/nagios/Makefile index 22144466c1..734caf6f1c 100644 --- a/net/nagios/Makefile +++ b/net/nagios/Makefile @@ -1,10 +1,9 @@ # -# Copyright (C) 2008 OpenWrt.org +# Copyright (C) 2008-2009 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. # -# $Id$ include $(TOPDIR)/rules.mk @@ -16,12 +15,8 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=@SF/nagios PKG_MD5SUM:=8c3a29e138f2ff8c8abbd3dd8a40c4b6 -PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) - include $(INCLUDE_DIR)/package.mk -PKG_BUILD_DEPENDS:=libnotimpl - define Package/nagios SECTION:=net CATEGORY:=Network @@ -35,7 +30,7 @@ define Package/nagios/description service and network monitoring program endef -EXTRA_CFLAGS += -I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include +EXTRA_CFLAGS += $(TARGET_CPPFLAGS) CONFIGURE_ARGS += \ --with-nagios-user="root" \ @@ -45,9 +40,6 @@ CONFIGURE_ARGS += \ --without-gd-inc \ CFLAGS="$(TARGET_CFLAGS) $(EXTRA_CFLAGS)" -CONFIGURE_VARS += \ - LIBS="-lnotimpl" - define Build/Compile $(MAKE) -C $(PKG_BUILD_DIR) \ DESTDIR="$(PKG_INSTALL_DIR)" \