seeking example for port who moves only some files

Daniel J. Luke dluke at geeklair.net
Sat Jan 20 15:34:41 PST 2007


On Jan 20, 2007, at 5:25 PM, Salvatore Domenick Desiano wrote:
> o I've never seen this before.  Does anyone know what would cause  
> this error
> o on OS X?
>
> On Tiger, at least, gnutar and tar are the same program and don't
> actually seem to be gnutar (they lack many of the options).

On Tiger (10.4) tar is gnutar is GNU tar 1.14 (and supports --no-same- 
owner)

On previous versions of Mac OS X (I'm not sure if it was 10.3 and  
before or 10.2 and before) tar was bsd tar and there was also gnutar  
present.

> So, if
> someone has the gnutar port installed and ahead of /usr/bin, the  
> port is
> good to go. If not, you'll get the error you saw.

--no-same-owner isn't available everywhere (and macports base  
actually checks to see if it's available when building from source).

If a port really needs it when it is available, the portfile could  
probably look at tar_command from port_autoconf.tcl

--
Daniel J. Luke
+========================================================+
| *---------------- dluke at geeklair.net ----------------* |
| *-------------- http://www.geeklair.net -------------* |
+========================================================+
|   Opinions expressed are mine and do not necessarily   |
|          reflect the opinions of my employer.          |
+========================================================+


-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://lists.macosforge.org/pipermail/macports-dev/attachments/20070120/08c7c633/PGP.bin


More information about the macports-dev mailing list