summaryrefslogtreecommitdiff
path: root/mk/fetch/bsd.fetch-vars.mk
diff options
context:
space:
mode:
authorjoerg <joerg>2015-09-08 12:37:56 +0000
committerjoerg <joerg>2015-09-08 12:37:56 +0000
commita52e83b6b9dced421100dacbab80fa9531216d02 (patch)
tree145ee12d3a5a37b94b76503391e73e8f5df5553b /mk/fetch/bsd.fetch-vars.mk
parent3a96e5becf2c167fa682a78a32fad7feaf101a48 (diff)
downloadpkgsrc-a52e83b6b9dced421100dacbab80fa9531216d02.tar.gz
Make the post-fetch hook a bit more useful by also handing down the URL
the file was obtained from. This makes it easier to skip any local mirrors.
Diffstat (limited to 'mk/fetch/bsd.fetch-vars.mk')
-rw-r--r--mk/fetch/bsd.fetch-vars.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/mk/fetch/bsd.fetch-vars.mk b/mk/fetch/bsd.fetch-vars.mk
index 61dcdb574c7..0239e2579bf 100644
--- a/mk/fetch/bsd.fetch-vars.mk
+++ b/mk/fetch/bsd.fetch-vars.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.fetch-vars.mk,v 1.20 2015/09/08 11:13:12 joerg Exp $
+# $NetBSD: bsd.fetch-vars.mk,v 1.21 2015/09/08 12:37:56 joerg Exp $
#
# This Makefile fragment is included separately by bsd.pkg.mk and
# defines some variables which must be defined earlier than where
@@ -14,7 +14,8 @@
# No files will ever be created in these directories.
#
# POST_FETCH_HOOK is a program to execute after fetch successfully
-# obtained a file. It is called with the path as argument.
+# obtained a file. It is called with the relative path of the distfile
+# in ${DISTDIR} and the full URL it was obtained from.
#
# The following variables may be set in a package Makefile:
#