freebsd-ports/games/tvp/files/patch-aprez_Makefile.in
Tim Vanderhoek 91d0a1d4bb 1) Fix multi-line strings to sate gcc33
2) Fix a bug which caused xprez to display garbage as the list of
   cards that were exchanged at the beginning of a new round of the game.
2004-02-02 03:55:03 +00:00

14 lines
455 B
Text

$FreeBSD$
--- aprez/Makefile.in.orig Sun Feb 1 22:29:17 2004
+++ aprez/Makefile.in Sun Feb 1 22:16:59 2004
@@ -30,6 +30,8 @@
# code...
cat ../ABOUT | perl -pe 's/(\")/\\$$1/g;' > tempfile2
perl -e '$$a=`cat tempfile1`; $$b=`cat tempfile2`; \
+ $$a=~s/\n/\\n\"\n\"/g; $$a=~s/^/\"/g; $$a=~s/\"//; \
+ $$b=~s/\n/\\n\"\n\"/g; $$b=~s/^/\"/g; $$b=~s/\"//; \
while (<>) { \
s/\!COPYING\!/$$a/g; \
s/\!ABOUT\!/$$b/g; \