summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1994-08-22 11:23:17 +0000
committerjkh <jkh@FreeBSD.org>1994-08-22 11:23:17 +0000
commit1258b7ea6f876da5feefda5d4481b3f60ccd36d2 (patch)
tree73d2e4adaaaf8d18d8f08b1ddeee8f836fff8025 /share
parentb94be1089d56b106e5e0b20fb0aeccdbe142b009 (diff)
downloadFreeBSD-src-1258b7ea6f876da5feefda5d4481b3f60ccd36d2.zip
FreeBSD-src-1258b7ea6f876da5feefda5d4481b3f60ccd36d2.tar.gz
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 'share')
-rw-r--r--share/mk/bsd.port.mk19
1 files changed, 12 insertions, 7 deletions
diff --git a/share/mk/bsd.port.mk b/share/mk/bsd.port.mk
index e9da5ef..cdc3321 100644
--- a/share/mk/bsd.port.mk
+++ b/share/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}
OpenPOWER on IntegriCloud