diff options
author | Jordan K. Hubbard <jkh@FreeBSD.org> | 1994-08-22 19:23:17 +0800 |
---|---|---|
committer | Jordan K. Hubbard <jkh@FreeBSD.org> | 1994-08-22 19:23:17 +0800 |
commit | 1fb83c20bbb6e998eae6a9cd0d51da533247e7bd (patch) | |
tree | d24af6e78092150f30be48c19931406878a99e1b /Mk | |
parent | 3556b480dff4bdc71c188b9e2de8f768d418458d (diff) | |
download | freebsd-ports-gnome-1fb83c20bbb6e998eae6a9cd0d51da533247e7bd.tar.gz freebsd-ports-gnome-1fb83c20bbb6e998eae6a9cd0d51da533247e7bd.tar.zst freebsd-ports-gnome-1fb83c20bbb6e998eae6a9cd0d51da533247e7bd.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} |