nlsr: Update to the latest version
diff --git a/nlsr/debian/rules b/nlsr/debian/rules
index 44c87df..23a8078 100755
--- a/nlsr/debian/rules
+++ b/nlsr/debian/rules
@@ -10,12 +10,14 @@
# 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 configure --prefix=/usr
+ CXXFLAGS="$(CXXFLAGS)" LINKFLAGS="$(LDFLAGS)" ./waf configure --prefix=/usr
override_dh_auto_build:
./waf build
@@ -31,6 +33,7 @@
./waf distclean
rm -f VERSION
rm -rf .waf-1*
+ rm -rf .waf3-1*
rm -f .waf-tools/*.pyc
rm -f docs/*.pyc