diff options
author | joerg <joerg> | 2015-09-08 12:37:56 +0000 |
---|---|---|
committer | joerg <joerg> | 2015-09-08 12:37:56 +0000 |
commit | a52e83b6b9dced421100dacbab80fa9531216d02 (patch) | |
tree | 145ee12d3a5a37b94b76503391e73e8f5df5553b /mk/fetch/bsd.fetch-vars.mk | |
parent | 3a96e5becf2c167fa682a78a32fad7feaf101a48 (diff) | |
download | pkgsrc-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.mk | 5 |
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: # |