Hi!

Looking at http://www.opensource.apple.com/release/os-x-109/, GNU tar in fact 
IS part of OSX 10.9, but under a new location.

GNU tar on OSX 10.8.5 (gnutar-451):
http://www.opensource.apple.com/source/gnutar/gnutar-451/

GNU tar on OSX 10.9.0 (gnutar-452):
http://www.opensource.apple.com/source/gnutar/gnutar-452/

Makefile GNU tar on OSX 10.8.5 (gnutar-451):
http://www.opensource.apple.com/source/gnutar/gnutar-451/Makefile

Makefile GNU tar on OSX 10.9.0 (gnutar-452):
http://www.opensource.apple.com/source/gnutar/gnutar-452/Makefile



Look at both Makefiles to which destination Apple has put it on OSX le 10.8.5 
and OSX 10.9.0 and see the differences (make a diff):

$ GNUtarML=`curl 
http://www.opensource.apple.com/source/gnutar/gnutar-451/Makefile?txt -s -o 
${TMPDIR}Makefile_GNUtar_MountainLion`; GNUtarMav=`curl 
http://www.opensource.apple.com/source/gnutar/gnutar-452/Makefile?txt -s -o 
${TMPDIR}Makefile_GNUtar_Mavericks`; diff -u 
"${TMPDIR}Makefile_GNUtar_MountainLion" "${TMPDIR}Makefile_GNUtar_Mavericks"

--- 
/var/folders/p7/3h2r_j7x6j58crp3zy7lm80m0000gp/T/Makefile_GNUTar_MountainLion   
    2013-10-23 20:20:37.000000000 +0200
+++ /var/folders/p7/3h2r_j7x6j58crp3zy7lm80m0000gp/T/Makefile_GNUTar_Mavericks  
2013-10-23 20:20:38.000000000 +0200
@@ -8,7 +8,10 @@
 ToolType              = Commands
 Extra_Configure_Flags = --program-prefix=gnu --includedir=/usr/local/include
 Extra_CC_Flags        = -mdynamic-no-pic
-GnuAfterInstall       = remove-dir install-man install-plist
+GnuAfterInstall       = remove-junk install-symlink install-plist
+
+Install_Prefix  = /usr/local
+Install_Info    = /usr/local/share/info
 
 # It's a GNU Source project
 include $(MAKEFILEPATH)/CoreOS/ReleaseControl/GNUSource.make
@@ -42,15 +45,15 @@
        done
 endif
 
-remove-dir:
-       $(RM) $(DSTROOT)/usr/share/info/dir
-       $(RM) $(DSTROOT)/usr/lib/charset.alias
-
-install-man:
-       $(MKDIR) $(DSTROOT)$(MANDIR)/man1/
-       $(INSTALL_FILE) $(SRCROOT)/gnutar.1 $(DSTROOT)$(MANDIR)/man1/gnutar.1
-       $(MKDIR) $(DSTROOT)$(MANDIR)/man8/
-       $(INSTALL_FILE) $(SRCROOT)/gnurmt.8 $(DSTROOT)$(MANDIR)/man8/gnurmt.8
+remove-junk:
+       $(RMDIR) $(DSTROOT)$(Install_Prefix)/lib/
+       $(RMDIR) $(DSTROOT)$(Install_Prefix)/libexec/
+       $(RMDIR) $(DSTROOT)$(Install_Prefix)/sbin/
+       $(RMDIR) $(DSTROOT)$(Install_Prefix)/share/
+
+install-symlink:
+       $(MKDIR) $(DSTROOT)/usr/bin/
+       $(LN) -fs $(Install_Prefix)/bin/gnutar $(DSTROOT)/usr/bin/gnutar
 
 OSV = $(DSTROOT)/usr/local/OpenSourceVersions
 OSL = $(DSTROOT)/usr/local/OpenSourceLicenses

---------------------------------------------------------------------------------

So, the new install_Prefix of gnu tar is /usr/local, the binary is 
/usr/local/bin/gnutar, the libs in /usr/local/lib and so on...
AND there is a Symlink from /usr/local/bin/gnutar -> /usr/bin/gnutar

Hope, that helps.

Regards,
Sierk Bornemann


Am 23.10.2013 um 08:06 schrieb Ryan Schmidt:

> 
> On Oct 23, 2013, at 00:08, Watson Ladd wrote:
> 
>> I'm getting errors in extraction for every single port I try.
> 
> Yes, we know, e.g.:
> 
> https://trac.macports.org/ticket/39977
> 
> https://trac.macports.org/ticket/40354
> 
> Now, how did you install MacPorts? The only way that should work for now is 
> compiling from the source of MacPorts trunk. MacPorts 2.2.0 probably won't 
> work on Mavericks.
> 
> _______________________________________________
> macports-users mailing list
> [email protected]
> https://lists.macosforge.org/mailman/listinfo/macports-users

-- 
Sierk Bornemann
http://sierkbornemann.de/




Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

_______________________________________________
macports-users mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to