Bug#380745: usplash: Make it easier to backport to sarge
Package: usplash
Version: 0.3a
Severity: wishlist
Tags: patch
When building usplash on Debian/Sarge, dpkg complains
DEB_BUILD_ARCH_CPU is not a supported variable name at
/usr/bin/dpkg-architecture line 271.
This patch fixes the issue, by using DEB_BUILD_ARCH instead of
DEB_BUILD_ARCH_CPU.
--- bogl/Makefile.orig 2006-06-20 12:11:12.000000000 +0200
+++ bogl/Makefile 2006-08-01 12:05:02.000000000 +0200
@@ -8,7 +8,7 @@
WARNCFLAGS += -Wall -D_GNU_SOURCE
ALLCFLAGS = $(CFLAGS) $(WARNCFLAGS) $(FBCFLAGS)
-architecture := $(shell dpkg-architecture -qDEB_BUILD_ARCH_CPU)
+architecture := $(shell dpkg-architecture -qDEB_BUILD_ARCH)
LIBOBJECTS = $(LIBBOGLOBJECTS) $(LIBBOMLOBJECTS) $(LIBBOWLOBJECTS) \
$(LIBRSRCOBJECTS)
Please apply it to a future version of usplash.
Reply to: