diff options
author | fredb <fredb> | 2002-03-04 19:41:03 +0000 |
---|---|---|
committer | fredb <fredb> | 2002-03-04 19:41:03 +0000 |
commit | 3c94275e3186ff706aff64431088202eaa12d576 (patch) | |
tree | 81fb74e21b3de2fbc9c29841caa4eb46bf038535 /sysutils | |
parent | f7418e7a9e3bc8f14d47d274559723d14bb07751 (diff) | |
download | pkgsrc-3c94275e3186ff706aff64431088202eaa12d576.tar.gz |
Generalize the handling for packages where "fetch" and "fetch-list"
only emit a message and don't actually fetch anything. This allows
us to make the output of "fetch-list" for these packages consistent
with other packages.
While we're in here, integrate DYNAMIC_MASTER_SITES with the
${ORDERED_SITES} macro. The only functional change here is that
${MASTER_SITE_OVERRIDE} is now respected. Still to do -- something
appropriate for "fetch-list" for these packages, like sourcing
"getsites.sh" into the generated script. (Well, "package", but there
are two others that do something similar in their "Makefile".)
Also eliminate the misbegotten _FETCH_ALLFILES macro -- now that only
"fetch" uses it, move it's functionality directly under "do-fetch".
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/storage-manager/Makefile | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/sysutils/storage-manager/Makefile b/sysutils/storage-manager/Makefile index a1df4a2dca4..7a8af66fade 100644 --- a/sysutils/storage-manager/Makefile +++ b/sysutils/storage-manager/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2002/02/26 21:28:49 fredb Exp $ +# $NetBSD: Makefile,v 1.4 2002/03/04 19:41:08 fredb Exp $ DISTNAME= sm_linux_v314_install PKGNAME= storage-manager-3.14 @@ -37,15 +37,6 @@ _FETCH_MESSAGE= \ ${ECHO} " ${DOWNLOAD}."; \ ${ECHO} "=================================================================" -do-fetch: - @if [ ! -f ${DISTDIR}/${DISTFILES} ]; then \ - ${_FETCH_MESSAGE}; \ - ${FALSE}; \ - fi - -fetch-list-one-pkg: - @${ECHO} ${_FETCH_MESSAGE:Q} - do-extract: ${MKDIR} ${WRKSRC} cd ${WRKSRC}; rpm2cpio ${DISTDIR}/${DISTNAME}.rpm > ${DISTNAME}.cpio |