ndns: Pass just /var as localstatedir

Refs: #4810
Change-Id: Ief3c1ae621b7fb01abc73c6ef04a81ed7b2de5e8
diff --git a/ndns/debian/rules b/ndns/debian/rules
index f2a58ae..618b4ae 100755
--- a/ndns/debian/rules
+++ b/ndns/debian/rules
@@ -18,7 +18,7 @@
 	dh $@ --parallel --with=systemd
 
 override_dh_auto_configure:
-	LDFLAGS="${LDFLAGS}" CXXFLAGS="$(CXXFLAGS)" ./waf configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var/lib --boost-libs="$(LIBDIR)"
+	LDFLAGS="${LDFLAGS}" CXXFLAGS="$(CXXFLAGS)" ./waf configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --boost-libs="$(LIBDIR)"
 
 override_dh_auto_build:
 	./waf build