Skip to contentSkip to conversation

vnstat: needs host-pkgconf

PATCH New Jörg Krause 2 participants 2 messages Apr 11, 2016 – Apr 13, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 vnstat: needs host-pkgconf

vnstat uses the PKG_CHECK_MODULES macro and therefor requires pkg-config.

Note that for adding the dependency gd to VNSTAT_DEPENDENCIES the assignment was changed from '=' to '+='.

Fixes:
http://autobuild.buildroot.net/results/4dd/4ddb0d7d7fe2509ff9c4753d918e0bebd7725c13/

---
 package/vnstat/vnstat.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
package/vnstat/vnstat.mk +2 -1
index ba2610a..576f240 100644
@@ -8,11 +8,12 @@ VNSTAT_VERSION = 1.15
 VNSTAT_SITE = http://humdi.net/vnstat
 VNSTAT_LICENSE = GPLv2
 VNSTAT_LICENSE_FILES = COPYING
+VNSTAT_DEPENDENCIES = host-pkgconf
 # We're patching configure.ac, so we need to autoreconf
 VNSTAT_AUTORECONF = YES
 
 ifeq ($(BR2_PACKAGE_GD)$(BR2_PACKAGE_LIBPNG),yy)
-VNSTAT_DEPENDENCIES = gd
+VNSTAT_DEPENDENCIES += gd
 VNSTAT_CONF_OPTS = --enable-image-output
 else
 VNSTAT_CONF_OPTS = --disable-image-output
Signature · 1 line
2.8.0
#1 lore raw

PATCH 1/1 vnstat: needs host-pkgconf

Hello,

Quoted 1 line · J?rg Krause

vnstat uses the PKG_CHECK_MODULES macro and therefor requires pkg-config.

therefor -> therefore. I've fixed this when applying.

Quoted 11 lines

Note that for adding the dependency gd to VNSTAT_DEPENDENCIES the assignment was changed from '=' to '+='.

Fixes:
http://autobuild.buildroot.net/results/4dd/4ddb0d7d7fe2509ff9c4753d918e0bebd7725c13/

---
 package/vnstat/vnstat.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com