Package: softgun
Version: 0.16-2
Severity: normal
Tags: patch

Hello,

your package FTBFS on Ubuntu as it uses echo -ne in the Makefile and
dash (/bin/sh in Ubuntu) doesn't understand echo -e.
The attached patch uses printf instead of echo.

Regards,
Michael

--- softgun-0.16.orig/Makefile
+++ softgun-0.16/Makefile
@@ -56,10 +56,10 @@
        @if [ -d $@ ]; then make -C $@; fi
        
 version.c:
-       $(shell echo -ne "/*\n * This file is automatically generated\n */\n" > 
$@;) \
-       $(shell echo -ne "#include <version.h>\nconst char *softgun_version = 
\"" >> $@;) \
-       $(shell x=$(CURDIR); echo -n $${x##*/} >> $@;) \
-       $(shell echo "\";" >> $@;) 
+       $(shell printf "/*\n * This file is automatically generated\n */\n" > 
$@;) \
+       $(shell printf "#include <version.h>\nconst char *softgun_version = \"" 
>> $@;) \
+       $(shell x=$(CURDIR); printf $${x##*/} >> $@;) \
+       $(shell printf "\";\n" >> $@;) 
 
 install: $(INSTALL_BINS)
        @for f in $(INSTALL_BINS); do \



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to