aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@FreeBSD.org>2023-05-05 21:46:49 +0000
committerChristian Weisgerber <naddy@FreeBSD.org>2023-05-05 22:01:18 +0000
commit5ea94b852ffe7d9f95c3012f239435556c8a44d5 (patch)
tree5abcd998b6d2060766249573de370e1daeb9e634
parent0838f527c3aa5a90e949d33e6331dcba12041ca1 (diff)
downloadports-5ea94b852ffe7d9f95c3012f239435556c8a44d5.tar.gz
ports-5ea94b852ffe7d9f95c3012f239435556c8a44d5.zip
archivers/gtar: switch the default archive to stdin/stdout
The gtar port tries to use the same default archive location as the base system tar. Starting with libarchive 3.6.0, bsdtar defaults to reading/writing the archive from stdin/to stdout in the common case where the /dev/sa0 device does not exist on a system. Using "-" as the default archive file is also the GNU upstream default. PR: 271260 Reported by: Michael Stone <mstone2001@msn.com>
-rw-r--r--archivers/gtar/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/archivers/gtar/Makefile b/archivers/gtar/Makefile
index 229714bb0dac..b4bdabf4a774 100644
--- a/archivers/gtar/Makefile
+++ b/archivers/gtar/Makefile
@@ -1,5 +1,6 @@
PORTNAME= tar
PORTVERSION= 1.34
+PORTREVISION= 1
CATEGORIES= archivers sysutils
MASTER_SITES= GNU
PKGNAMEPREFIX= g
@@ -17,8 +18,7 @@ USES= charsetfix cpe iconv:${STATIC_ARGS} localbase tar:xz
CPE_VENDOR= gnu
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --program-prefix=g
-CONFIGURE_ENV= DEFAULT_ARCHIVE=/dev/sa0 \
- DEFAULT_RMT_COMMAND=/etc/rmt
+CONFIGURE_ENV= DEFAULT_RMT_COMMAND=/etc/rmt
# supply result to skip a test that will abort configure if run as root
CONFIGURE_ENV+= gl_cv_func_mknod_works=yes