projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
check if some /proc files exist, before using it, for systems without diag kernel...
[openwrt.git]
/
openwrt
/
package
/
rrdcollect
/
Makefile
diff --git
a/openwrt/package/rrdcollect/Makefile
b/openwrt/package/rrdcollect/Makefile
index
94dea16
..
b3be69a
100644
(file)
--- a/
openwrt/package/rrdcollect/Makefile
+++ b/
openwrt/package/rrdcollect/Makefile
@@
-14,6
+14,10
@@
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
+ifneq ($(BR2_PACKAGE_LIBRRD),)
+RRDTOOL_LIBS:=-lart_lgpl_2 -lfreetype -lpng
+endif
+
include $(TOPDIR)/package/rules.mk
$(eval $(call PKG_template,RRDCOLLECT,rrdcollect,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
include $(TOPDIR)/package/rules.mk
$(eval $(call PKG_template,RRDCOLLECT,rrdcollect,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
@@
-23,9
+27,9
@@
$(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
(cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS) -DSOCKET_COMM" \
(cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS) -DSOCKET_COMM" \
- CPPFLAGS="-I$(STAGING_DIR)/usr/include" \
- LDFLAGS="-L$(STAGING_DIR)/
lib -L$(STAGING_DIR)/usr
/lib" \
- LIBS="
-lart_lgpl_2 -lfreetype -lpng
-lz" \
+ CPPFLAGS="-I$(STAGING_DIR)/usr/include
-I$(STAGING_DIR)/include
" \
+ LDFLAGS="-L$(STAGING_DIR)/
usr/lib -L$(STAGING_DIR)
/lib" \
+ LIBS="
$(RRDTOOL_LIBS)
-lz" \
PKG_CONFIG_PATH="$(STAGING_DIR)/usr/lib/pkgconfig" \
ac_cv_func_malloc_0_nonnull=yes \
./configure \
PKG_CONFIG_PATH="$(STAGING_DIR)/usr/lib/pkgconfig" \
ac_cv_func_malloc_0_nonnull=yes \
./configure \
@@
-48,6
+52,8
@@
$(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
$(DISABLE_LARGEFILE) \
--enable-shared \
--disable-static \
$(DISABLE_LARGEFILE) \
--enable-shared \
--disable-static \
+ --disable-rpath \
+ --with-gnu-ld \
--enable-exec \
--without-rrdtool \
--with-librrd \
--enable-exec \
--without-rrdtool \
--with-librrd \
This page took
0.024184 seconds
and
4
git commands to generate.