ndn-tlv-ping: Updating to the latest version
diff --git a/ndn-tlv-ping/debian/rules b/ndn-tlv-ping/debian/rules
index 4f6bbef..0d3817e 100755
--- a/ndn-tlv-ping/debian/rules
+++ b/ndn-tlv-ping/debian/rules
@@ -10,15 +10,17 @@
# export DH_VERBOSE=1
LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS)
+CXXFLAGS := $(shell dpkg-buildflags --get CXXFLAGS)
+CXXFLAGS += -std=c++11
%:
dh $@ --parallel
override_dh_auto_configure:
- ./waf --nocache configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
+ CXXFLAGS="$(CXXFLAGS)" LINKFLAGS="$(LDFLAGS)" ./waf configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
override_dh_auto_build:
- ./waf --nocache build
+ ./waf build
override_dh_auto_install:
./waf install --destdir=debian/tmp
@@ -30,6 +32,7 @@
dh_clean
./waf distclean
rm -rf .waf-1*
+ rm -rf .waf3-1*
rm -f .waf-tools/*.pyc
override_dh_auto_test: