Source: das-watchdog Version: 0.9.0-3 Tags: patch upstream User: [email protected] Usertags: ftcbfs
das-watchdog fails to cross build from source, because the upstream build system hard codes build architecture build tools. The attached patch makes them substitutable. Please consider applying it. Helmut
--- das-watchdog-0.9.0.orig/Makefile +++ das-watchdog-0.9.0/Makefile @@ -1,7 +1,8 @@ VERSION=0.9.0 -FLAGS=-O2 `pkg-config --libs --cflags libgtop-2.0` -Wall -lpthread -DWHICH_XMESSAGE=\"`which xmessage`\" -DVERSION=\"$(VERSION)\" +PKG_CONFIG ?= pkg-config +FLAGS=-O2 `$(PKG_CONFIG) --libs --cflags libgtop-2.0` -Wall -lpthread -DWHICH_XMESSAGE=\"`which xmessage`\" -DVERSION=\"$(VERSION)\" TAR=das_watchdog @@ -10,8 +11,8 @@ all: which xmessage - gcc $(LDFLAGS) $(CFLAGS) $(CPPFLAGS) das_watchdog.c -o das_watchdog $(FLAGS) - gcc $(LDFLAGS) $(CFLAGS) $(CPPFLAGS) test_rt.c -o test_rt + $(CC) $(LDFLAGS) $(CFLAGS) $(CPPFLAGS) das_watchdog.c -o das_watchdog $(FLAGS) + $(CC) $(LDFLAGS) $(CFLAGS) $(CPPFLAGS) test_rt.c -o test_rt dist: make clean
_______________________________________________ pkg-multimedia-maintainers mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers
