Source: ssh-askpass-fullscreen
Version: 0.3-3.1
Tags: patch upstream
User: helm...@debian.org
Usertags: rebootstrap

ssh-askpass-fullscreen fails to cross build from source, because the
upstream Makefile hard codes gcc and pkg-config. The attached patch
makes them substitutable and that is enough to make
ssh-askpass-fullscreen cross build, because cdbs passes cross compilers
to make. Please consider applying the attached patch. Also please
consider replacing cdbs' simple patchsys with quilt. Thank you.

Helmut
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,6 @@
+PKG_CONFIG ?= pkg-config
 all:
-	gcc -o gtk2-ssh-askpass gtk2-ssh-askpass.c -lX11 `pkg-config --libs gtk+-2.0` `pkg-config --cflags gtk+-2.0`
+	$(CC) -o gtk2-ssh-askpass gtk2-ssh-askpass.c -lX11 `$(PKG_CONFIG) --libs --cflags gtk+-2.0`
 
 clean:
 	rm gtk2-ssh-askpass

Reply via email to