Make things a little more user-friendly

Submitted by:	jkh
This commit is contained in:
Jordan K. Hubbard 1994-08-21 17:42:24 +00:00
parent 34c3b2aff2
commit a1c49e4efc
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=2187

View File

@ -1,7 +1,7 @@
# bsd.port.mk - 940820 Jordan K. Hubbard.
# This file is in the public domain.
#
# $Id: bsd.port.mk,v 1.5 1994/08/21 16:37:09 jkh Exp $
# $Id: bsd.port.mk,v 1.6 1994/08/21 16:55:54 jkh Exp $
#
# Supported Variables and their behaviors:
@ -91,14 +91,16 @@ package:
build: configure
@echo "===> Building for ${DISTNAME}"
.if defined(DEPENDS)
@echo "===> ${DISTNAME} depends on: ${DEPENDS}"
@for i in $(DEPENDS); do \
echo "===> ${DISTNAME} depends on $$i - submaking"; \
echo "===> Verifying build for $$i"; \
if [ ! -d ${PORTSDIR}/$$i ]; then \
echo " No directory ${PORTSDIR}/$$i. Skipping.."; \
echo ">> No directory for ${PORTSDIR}/$$i. Skipping.."; \
else \
(cd ${PORTSDIR}/$$i; ${MAKE}) ; \
fi \
done
@echo "===> Returning to build of ${DISTNAME}"
.endif
.if defined(USE_GMAKE)
@(cd ${WRKSRC}; ${GMAKE} all)