From: blogic Date: Sat, 12 Jul 2008 22:47:06 +0000 (+0000) Subject: fixes collectd compile X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=9a062223806024d169cdc074fa25713ae2b4ca0e;p=packages.git fixes collectd compile git-svn-id: svn://svn.openwrt.org/openwrt/packages@11800 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/utils/collectd/Makefile b/utils/collectd/Makefile index 69bc57577..a3d682a98 100644 --- a/utils/collectd/Makefile +++ b/utils/collectd/Makefile @@ -16,8 +16,7 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=http://collectd.org/files/ PKG_MD5SUM:=176880c32a06bee9d5e6e2e7c76751a3 -PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) -PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install +PKG_FIXUP=libtool include $(INCLUDE_DIR)/package.mk @@ -273,6 +272,9 @@ PKG_CONFIGURE_OPTS:= \ --with-nan-emulation \ --with-fp-layout=nothing +CONFIGURE_VARS+= \ + CPPFLAGS="-I$(STAGING_DIR)/usr/include/libxml2 $$$$CPPFLAGS" \ + # list of permanently disabled plugins disabled_plugins := apple_sensors battery cpufreq entropy hddtemp ipmi ipvs libvirt mbmon memcached \ multimeter mysql nfs nut perl sensors serial swap tape uuid vserver xmms