pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/bup sysutils/bup: Resolve man tarball fetching

branches:  trunk
changeset: 344513:6c025f16654b
user:      gdt <>
date:      Thu Nov 21 17:34:06 2019 +0000

sysutils/bup: Resolve man tarball fetching

Define EXTRACT_SUFX explicitly, so that it is set when setting

Thanks to tnn@ for explaining this and rillig@ for other hints.


 sysutils/bup/Makefile |  21 ++++++++-------------
 1 files changed, 8 insertions(+), 13 deletions(-)

diffs (44 lines):

diff -r 411392b714b1 -r 6c025f16654b sysutils/bup/Makefile
--- a/sysutils/bup/Makefile     Thu Nov 21 16:19:05 2019 +0000
+++ b/sysutils/bup/Makefile     Thu Nov 21 17:34:06 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.39 2019/11/21 16:19:05 gdt Exp $
+# $NetBSD: Makefile,v 1.40 2019/11/21 17:34:06 gdt Exp $
 DISTNAME=      bup-0.30
 CATEGORIES=    sysutils
@@ -10,27 +10,22 @@
 # in bup's git which has autogenerated man pages.  The third problem
 # is that assumes that there is one distfile.
-# We would like to fetch the following files:
+# (Note to future updating self) We would like to fetch the following files:
 # We use a subdir to isolate the man distfile that is named with a
 # SHA1, so that one can readily understand to which package the file
-# belongs.
+# belongs (and the main file, which is not necessary but not harmful).
 DIST_SUBDIR=   bup             
-# This should not be necessary, as it is defaulted by, but
-# that only works if DISTFILES is empty.
-# The SITES assignment does not work, perhaps because it is overridden
-# elsewhere.  As a workaround, the distfile is at
-# \todo Fix fetching.
+# EXTRACT_SUFX is set too late, so using it in SITES.* fails.
+EXTRACT_SUFX=  .tar.gz
 MAN_TAG=       28876cde4a3dac518e773860aa7969c106f5390d
 MAN_UNPACK=    bup-${MAN_TAG}
 # Upstream provides html, but we choose not to include it in the package.
 #HTML_TARBALL= 66eccb7eb49575d006d193276018d9551ac5b4d4

Home | Main Index | Thread Index | Old Index