bind: use json-c instead of jsoncpp
authorRosen Penev <rosenp@gmail.com>
Tue, 7 Apr 2020 01:31:14 +0000 (18:31 -0700)
committerNoah Meyerhans <frodo@morgul.net>
Tue, 7 Apr 2020 19:32:18 +0000 (12:32 -0700)
The configure script prefers the latter whereas the code prefers the
latter. Hack around it.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
net/bind/Makefile

index 9832705e41b3559489668fd88ac1eb984f89b831..b0d3e5dee1779750d50869974b4e1946202a1205 100644 (file)
@@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=bind
 PKG_VERSION:=9.14.8
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 USERID:=bind=57:bind=57
 
 PKG_MAINTAINER:=Noah Meyerhans <frodo@morgul.net>
@@ -125,6 +125,7 @@ endef
 
 export BUILD_CC="$(TARGET_CC)"
 
+TARGET_CFLAGS += -DHAVE_JSON_C -UHAVE_JSON
 TARGET_LDFLAGS += -Wl,--gc-sections,--as-needed
 
 CONFIGURE_ARGS += \