1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-17 08:01:36 +00:00

Fixed broken build under FreeBSD 5.x.

Reported by:	kris
This commit is contained in:
Mark Pulford 2003-10-26 13:57:16 +00:00
parent 06f59aa2ba
commit 52ada713ae
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=92204

View File

@ -0,0 +1,14 @@
--- 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 $@