pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk add a TAR definition for a suitable tar implementat...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/10b6bf7d825a
branches:  trunk
changeset: 461875:10b6bf7d825a
user:      grant <grant%pkgsrc.org@localhost>
date:      Tue Sep 23 07:26:22 2003 +0000

description:
add a TAR definition for a suitable tar implementation, not
necessarily GNU tar.

XXX GTAR should probably always point to real GNU tar later.

diffstat:

 mk/defs.Darwin.mk  |  7 ++++++-
 mk/defs.FreeBSD.mk |  7 ++++++-
 mk/defs.IRIX.mk    |  3 ++-
 mk/defs.Linux.mk   |  3 ++-
 mk/defs.NetBSD.mk  |  7 ++++++-
 mk/defs.OpenBSD.mk |  7 ++++++-
 mk/defs.SunOS.mk   |  3 ++-
 7 files changed, 30 insertions(+), 7 deletions(-)

diffs (135 lines):

diff -r 4e7ea60c5245 -r 10b6bf7d825a mk/defs.Darwin.mk
--- a/mk/defs.Darwin.mk Tue Sep 23 07:13:45 2003 +0000
+++ b/mk/defs.Darwin.mk Tue Sep 23 07:26:22 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: defs.Darwin.mk,v 1.55 2003/09/14 16:30:34 danw Exp $
+# $NetBSD: defs.Darwin.mk,v 1.56 2003/09/23 07:26:22 grant Exp $
 #
 # Variable definitions for the Darwin operating system.
 
@@ -59,6 +59,11 @@
 SORT?=         /usr/bin/sort
 SU?=           /usr/bin/su
 TAIL?=         /usr/bin/tail
+.if exists(${LOCALBASE}/bin/tar)
+TAR?=          ${LOCALBASE}/bin/tar
+.else
+TAR?=          /usr/bin/tar
+.endif
 TEE?=          /usr/bin/tee
 TEST?=         test                            # Shell builtin
 TOUCH?=                /usr/bin/touch
diff -r 4e7ea60c5245 -r 10b6bf7d825a mk/defs.FreeBSD.mk
--- a/mk/defs.FreeBSD.mk        Tue Sep 23 07:13:45 2003 +0000
+++ b/mk/defs.FreeBSD.mk        Tue Sep 23 07:26:22 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: defs.FreeBSD.mk,v 1.24 2003/09/14 16:30:34 danw Exp $
+# $NetBSD: defs.FreeBSD.mk,v 1.25 2003/09/23 07:26:23 grant Exp $
 #
 # Variable definitions for the FreeBSD operating system.
 
@@ -66,6 +66,11 @@
 SORT?=         /usr/bin/sort
 SU?=           /usr/bin/su
 TAIL?=         /usr/bin/tail
+.if exists(${LOCALBASE}/bin/tar)
+TAR?=          ${LOCALBASE}/bin/tar
+.else
+TAR?=          /usr/bin/tar
+.endif
 TEE?=          /usr/bin/tee
 TEST?=         test                            # Shell builtin
 TOUCH?=                /usr/bin/touch
diff -r 4e7ea60c5245 -r 10b6bf7d825a mk/defs.IRIX.mk
--- a/mk/defs.IRIX.mk   Tue Sep 23 07:13:45 2003 +0000
+++ b/mk/defs.IRIX.mk   Tue Sep 23 07:26:22 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: defs.IRIX.mk,v 1.33 2003/09/14 16:30:34 danw Exp $
+# $NetBSD: defs.IRIX.mk,v 1.34 2003/09/23 07:26:23 grant Exp $
 #
 # Variable definitions for the IRIX operating system.
 
@@ -68,6 +68,7 @@
 SORT?=         /usr/bin/sort
 SU?=           /sbin/su
 TAIL?=         /usr/bin/tail
+TAR?=          ${LOCALBASE}/bin/tar
 TEE?=          /usr/bin/tee
 TEST?=         /sbin/test
 TOUCH?=                /usr/bin/touch
diff -r 4e7ea60c5245 -r 10b6bf7d825a mk/defs.Linux.mk
--- a/mk/defs.Linux.mk  Tue Sep 23 07:13:45 2003 +0000
+++ b/mk/defs.Linux.mk  Tue Sep 23 07:26:22 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: defs.Linux.mk,v 1.59 2003/09/14 16:30:34 danw Exp $
+# $NetBSD: defs.Linux.mk,v 1.60 2003/09/23 07:26:23 grant Exp $
 #
 # Variable definitions for the Linux operating system.
 
@@ -103,6 +103,7 @@
 .endif
 SU?=           /bin/su
 TAIL?=         /usr/bin/tail
+TAR?=          ${LOCALBASE}/bin/tar
 TEE?=          /usr/bin/tee
 .if exists(/bin/test)
 TEST?=         /bin/test
diff -r 4e7ea60c5245 -r 10b6bf7d825a mk/defs.NetBSD.mk
--- a/mk/defs.NetBSD.mk Tue Sep 23 07:13:45 2003 +0000
+++ b/mk/defs.NetBSD.mk Tue Sep 23 07:26:22 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: defs.NetBSD.mk,v 1.53 2003/09/14 16:30:34 danw Exp $
+# $NetBSD: defs.NetBSD.mk,v 1.54 2003/09/23 07:26:23 grant Exp $
 #
 # Variable definitions for the NetBSD operating system.
 
@@ -62,6 +62,11 @@
 SORT?=         /usr/bin/sort
 SU?=           /usr/bin/su
 TAIL?=         /usr/bin/tail
+.if exists(/bin/tar)
+TAR?=          /bin/tar
+.else
+TAR?=          /usr/bin/tar
+.endif
 TEE?=          /usr/bin/tee
 TEST?=         test                            # Shell builtin
 TOUCH?=                /usr/bin/touch
diff -r 4e7ea60c5245 -r 10b6bf7d825a mk/defs.OpenBSD.mk
--- a/mk/defs.OpenBSD.mk        Tue Sep 23 07:13:45 2003 +0000
+++ b/mk/defs.OpenBSD.mk        Tue Sep 23 07:26:22 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: defs.OpenBSD.mk,v 1.23 2003/09/17 05:28:31 itojun Exp $
+# $NetBSD: defs.OpenBSD.mk,v 1.24 2003/09/23 07:26:23 grant Exp $
 #
 # Variable definitions for the OpenBSD operating system.
 
@@ -58,6 +58,11 @@
 SORT?=         /usr/bin/sort
 SU?=           /usr/bin/su
 TAIL?=         /usr/bin/tail
+.if exists(/bin/tar)
+TAR?=          /bin/tar
+.else
+TAR?=          /usr/bin/tar
+.endif
 TEE?=          /usr/bin/tee
 TEST?=         test                            # Shell builtin
 TOUCH?=                /usr/bin/touch
diff -r 4e7ea60c5245 -r 10b6bf7d825a mk/defs.SunOS.mk
--- a/mk/defs.SunOS.mk  Tue Sep 23 07:13:45 2003 +0000
+++ b/mk/defs.SunOS.mk  Tue Sep 23 07:26:22 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: defs.SunOS.mk,v 1.67 2003/09/21 14:50:29 grant Exp $
+# $NetBSD: defs.SunOS.mk,v 1.68 2003/09/23 07:26:24 grant Exp $
 #
 # Variable definitions for the SunOS/Solaris operating system.
 
@@ -97,6 +97,7 @@
 SORT?=         /usr/bin/sort
 SU?=           /usr/bin/su
 TAIL?=         /usr/xpg4/bin/tail
+TAR?=          ${LOCALBASE}/bin/tar
 TEE?=          /usr/bin/tee
 TEST?=         /usr/bin/test
 TOUCH?=                /usr/bin/touch



Home | Main Index | Thread Index | Old Index