fixes collectd compile
authorJohn Crispin <john@openwrt.org>
Sat, 12 Jul 2008 22:47:06 +0000 (22:47 +0000)
committerJohn Crispin <john@openwrt.org>
Sat, 12 Jul 2008 22:47:06 +0000 (22:47 +0000)
SVN-Revision: 11800

utils/collectd/Makefile

index 69bc5757705ea6f5246663ec814e031a2f8c5a31..a3d682a987241603b578341e3d0a39078b0c41a1 100644 (file)
@@ -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