Changes between Initial Version and Version 1 of Ticket #45152, comment 5


Ignore:
Timestamp:
Sep 25, 2014, 10:33:56 AM (10 years ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #45152, comment 5

    initial v1  
    33MacPorts does provide an `ln` procedure which works similarly to the shell command of the same name. In this case, invoking it in a `post-extract` block would be reasonable.
    44
    5 The other problem is that you've specified both a tar.gz distfile and a tar.bz2 distfile. MacPorts is currently not designed to be able to extract multiple distfiles unless they are all of the same type. So the fact that this is getting past the extract phase at all is surprising, and seems to indicate the /usr/bin/gzip at some point gained the ability to understand bz2 files. I'm not sure in which version of OS X gzip gained that ability, but we should handle this as if gzip only understood gz files, and manually extract the reduce tarball in a `post-extract` block. That would also give us the opportunity to extract it directly into the pure directory, avoiding the need to make a symlink.
     5The other problem is that you've specified both a tar.gz distfile and a tar.bz2 distfile. MacPorts is currently not designed to be able to extract multiple distfiles unless they are all of the same type. So the fact that this is getting past the extract phase at all is surprising, and seems to indicate that /usr/bin/gzip at some point gained the ability to understand bz2 files. I'm not sure in which version of OS X gzip gained that ability, but we should handle this as if gzip only understood gz files, and manually extract the reduce tarball in a `post-extract` block. That would also give us the opportunity to extract it directly into the pure directory, avoiding the need to make a symlink.
    66
    77I'll work on this.