diff options
author | pav <pav@FreeBSD.org> | 2004-07-03 04:58:46 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2004-07-03 04:58:46 +0800 |
commit | 6faa7ce6c9a41bfa46651b757fd34f0bdcb122ef (patch) | |
tree | ff0360b7556dee6eee490dcdcd15ad227a6db1c7 /print/cups-samba | |
parent | 41303e0ade10c5141263e3b915c1d2e00962d4af (diff) | |
download | freebsd-ports-gnome-6faa7ce6c9a41bfa46651b757fd34f0bdcb122ef.tar.gz freebsd-ports-gnome-6faa7ce6c9a41bfa46651b757fd34f0bdcb122ef.tar.zst freebsd-ports-gnome-6faa7ce6c9a41bfa46651b757fd34f0bdcb122ef.zip |
- Teach install script that there are other tar implementations beside GNU tar
which supports -P flag. This should fix Bento build using bsdtar.
Diffstat (limited to 'print/cups-samba')
-rw-r--r-- | print/cups-samba/files/patch-cups-samba.install | 25 |
1 files changed, 20 insertions, 5 deletions
diff --git a/print/cups-samba/files/patch-cups-samba.install b/print/cups-samba/files/patch-cups-samba.install index ee127de7663f..e8a7e77cb286 100644 --- a/print/cups-samba/files/patch-cups-samba.install +++ b/print/cups-samba/files/patch-cups-samba.install @@ -1,5 +1,5 @@ ---- cups-samba.install.old Tue Feb 10 14:52:51 2004 -+++ cups-samba.install Tue Feb 10 16:56:05 2004 +--- cups-samba.install.orig Sat Jan 3 19:49:11 2004 ++++ cups-samba.install Fri Jul 2 22:45:16 2004 @@ -1,4 +1,4 @@ -#!/bin/sh +#!%%LOCALBASE%%/bin/bash @@ -17,7 +17,22 @@ case "`uname`" in Darwin*) case "`id -un`" in -@@ -91,9 +91,9 @@ +@@ -44,13 +44,7 @@ + ac_c='\c' + fi + # Determine correct extract options for the tar command... +-if test `uname` = Darwin; then +- ac_tar="tar -xpPf" +-else if test "`tar --help 2>&1 | grep GNU`" = ""; then +- ac_tar="tar -xpf" +-else +- ac_tar="tar -xpPf" +-fi fi ++ac_tar="tar -xpPf" + if test "$*" = "now"; then + echo Software license silently accepted via command-line option. + else +@@ -91,9 +85,9 @@ esac done fi @@ -29,7 +44,7 @@ fi case `uname` in AIX) -@@ -134,7 +134,7 @@ +@@ -134,7 +128,7 @@ *) dfroot=`df -k / | tr '\n' ' '` @@ -38,7 +53,7 @@ fsroot=`echo $dfroot | awk '{print $13}'` sproot=`echo $dfroot | awk '{print $11}'` fsusr=`echo $dfusr | awk '{print $13}'` -@@ -167,44 +167,45 @@ +@@ -167,44 +161,45 @@ if test $spss -gt $spusr; then echo Not enough free disk space for software: |