summaryrefslogtreecommitdiff
path: root/print/acroread5/files/patch-aa
diff options
context:
space:
mode:
authorTrevor Johnson <trevor@FreeBSD.org>2002-08-08 11:52:15 +0000
committerTrevor Johnson <trevor@FreeBSD.org>2002-08-08 11:52:15 +0000
commitcf95b89ba46ca5f4a1fe9282346856f538470b76 (patch)
tree301fbee616153b42fb47c9c3d1ee133773802071 /print/acroread5/files/patch-aa
parentUpdate to 1.8. (diff)
The patching with sed was done incorrectly. Patch the INSTALL
script with patch(1) only, not with both patch(1) and sed. Correct the use of sed for patching other files. PR: 41121 Submitted by: KOMATSU Shinichiro
Diffstat (limited to 'print/acroread5/files/patch-aa')
-rw-r--r--print/acroread5/files/patch-aa20
1 files changed, 16 insertions, 4 deletions
diff --git a/print/acroread5/files/patch-aa b/print/acroread5/files/patch-aa
index f7a047013bdb..1df7cbfd4124 100644
--- a/print/acroread5/files/patch-aa
+++ b/print/acroread5/files/patch-aa
@@ -1,8 +1,11 @@
---- INSTALL.orig Thu May 23 13:00:47 2002
-+++ INSTALL Thu May 23 13:04:47 2002
-@@ -135,6 +135,8 @@
+--- INSTALL.orig Mon Jul 1 15:09:57 2002
++++ INSTALL Thu Aug 8 04:28:23 2002
+@@ -133,8 +133,10 @@
+ total=0
+ for i in $* ; do
if [ "$i" -a -f "$i" ] ; then
- if [ `uname -s` = "Linux" ] ; then
+- if [ `uname -s` = "Linux" ] ; then
++ if [ `uname -s` = "FreeBSD|Linux" ] ; then
size=`ls -lLn "$i" | ( read perm links owner group size date ; echo $size )`
+ elif [ `uname -s` = "FreeBSD" ] ; then
+ size=`ls -lL "$i" | ( read perm links owner group size date ; echo $size )`
@@ -18,3 +21,12 @@
ReadLicense=""
PrintRequiredFree "$ReadTar" "$SearchTar" "$CustomTar" \
+@@ -524,7 +526,7 @@
+ ;;
+ esac
+ ;;
+- Linux)
++ FreeBSD)
+ ReadDefaultNum="$ReadIntelLinuxNum"
+ DefaultName="Intel/Linux"
+ ;;