freebsd-ports/security/stegdetect/files/patch-file-Makefile.in
Mark Pulford 52ada713ae Fixed broken build under FreeBSD 5.x.
Reported by:	kris
2003-10-26 13:57:16 +00:00

14 lines
369 B
Text

--- file/Makefile.in.orig Thu Oct 16 11:42:44 2003
+++ file/Makefile.in Thu Oct 16 11:42:50 2003
@@ -504,9 +504,8 @@
done >> $@
magic.inc: magic
- echo -n "\"" > $@
- sed -e 's/\\/\\\\/g' -e 's/"/\\\"/g' magic >> $@
- echo -n "\"" >> $@
+ sed -e 's/\\/\\\\/g' -e 's/"/\\\"/g' \
+ -e 's/^/"/' -e 's/\(.*\)/\1"/' magic > $@
file.1: Makefile file.man
@rm -f $@