diff options
author | jkh <jkh@FreeBSD.org> | 1994-08-22 19:23:17 +0800 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1994-08-22 19:23:17 +0800 |
commit | d9a66d2bff38e494b5a588b301c4f6a3b9d51b3a (patch) | |
tree | d9c7cae133e1a624b66adccb56818e55589a3a0a /Mk | |
parent | d25f75ad09079869f188edcea5b6949600c3b32d (diff) | |
download | freebsd-ports-gnome-d9a66d2bff38e494b5a588b301c4f6a3b9d51b3a.tar.gz freebsd-ports-gnome-d9a66d2bff38e494b5a588b301c4f6a3b9d51b3a.tar.zst freebsd-ports-gnome-d9a66d2bff38e494b5a588b301c4f6a3b9d51b3a.zip |
Ok, now we warn if we're about to recreate the distfile from configured
sources. Configuring doesn't always _do_ anything, which is why it's
a warning and not an error.
Submitted by: jkh
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.port.mk | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk index e9da5efaf45c..cdc3321900c9 100644 --- a/Mk/bsd.port.mk +++ b/Mk/bsd.port.mk @@ -1,7 +1,7 @@ # bsd.port.mk - 940820 Jordan K. Hubbard. # This file is in the public domain. # -# $Id: bsd.port.mk,v 1.9 1994/08/22 10:46:37 jkh Exp $ +# $Id: bsd.port.mk,v 1.10 1994/08/22 11:20:06 jkh Exp $ # # Supported Variables and their behaviors: @@ -154,11 +154,16 @@ ${CONFIGURE_COOKIE}: .if !target(bundle) bundle: + @echo "===> Bundling for ${DISTNAME}" @if [ ! -f ${EXTRACT_COOKIE} ]; then \ - echo "There doesn't appear to be a properly extracted"; \ - echo "distribution for ${DISTNAME}. Skipping.."; \ + echo ">> There doesn't appear to be a properly extracted"; \ + echo ">> distribution for ${DISTNAME}. Skipping.."; \ exit 0; \ fi + @if [ -f ${CONFIGURE_COOKIE} ]; then \ + echo ">> WARNING: This source has been configured and may be"; \ + echo ">> produce a tainted distfile!"; \ + fi ${BUNDLE_CMD} ${BUNDLE_ARGS} ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} \ ${DISTNAME} .endif @@ -175,10 +180,10 @@ ${EXTRACT_COOKIE}: @rm -rf ${WRKDIR} @mkdir -p ${WRKDIR} @if [ ! -f ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ]; then \ - echo "Sorry, can't find: ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}"; \ - echo "Please obtain this file from:"; \ - echo " ${HOME_LOCATION}"; \ - echo "before proceeding."; \ + echo ">> Sorry, can't find: ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}"; \ + echo ">> Please obtain this file from:"; \ + echo ">> ${HOME_LOCATION}"; \ + echo ">>before proceeding."; \ exit 1; \ fi @${EXTRACT_CMD} ${EXTRACT_ARGS} ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} |