libglu: Changes to 'debian-unstable'
debian/rules | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 8471f26995afacc4c81bffe59958fab9116a771d
Author: Sven Joachim <svenjoac@gmx.de>
Date: Sun Apr 28 09:10:27 2013 +0200
Ensure that DEB_HOST_MULTIARCH is set in debian/rules
While dpkg-buildpackage does this for us by calling dpkg-architecture,
DEB_HOST_MULTIARCH is not set when invoking debian/rules directly,
leading to incorrect *.install files and a build failure later on:
dh_install: libglu1-mesa missing files (usr/lib//libGLU.so.*), aborting
Reported-by: Michael Gan <xmixahlx@gmail.com>
diff --git a/debian/rules b/debian/rules
index 9d6d11c..16fe0c2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,7 @@
#!/usr/bin/make -f
+DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+
override_dh_clean:
for file in debian/*.in; do rm -f $${file%%.in}; done
dh_clean
Reply to: