aboutsummaryrefslogtreecommitdiff
path: root/ports-mgmt
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2007-09-27 06:27:40 +0000
committerMark Linimon <linimon@FreeBSD.org>2007-09-27 06:27:40 +0000
commitb737126ada7aeeb4f01f688f849f0f7a5570cf04 (patch)
treefa85e061bd94486ef5ff20a8dc5add7fe86d3c25 /ports-mgmt
parent6eddd8024ff47024cb61ccaca98a3aea486b9421 (diff)
downloadports-b737126ada7aeeb4f01f688f849f0f7a5570cf04.tar.gz
ports-b737126ada7aeeb4f01f688f849f0f7a5570cf04.zip
Notes
Diffstat (limited to 'ports-mgmt')
-rw-r--r--ports-mgmt/portmk/Mk/bsd.port.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/ports-mgmt/portmk/Mk/bsd.port.mk b/ports-mgmt/portmk/Mk/bsd.port.mk
index a87a902c980f..42e26e1f96f8 100644
--- a/ports-mgmt/portmk/Mk/bsd.port.mk
+++ b/ports-mgmt/portmk/Mk/bsd.port.mk
@@ -4968,6 +4968,10 @@ ${deptype:L}-depends:
.if !defined(NO_DEPENDS)
@for i in `${ECHO_CMD} "${${deptype}_DEPENDS}"`; do \
prog=`${ECHO_CMD} $$i | ${SED} -e 's/:.*//'`; \
+ if [ -z "$$prog" ]; then \
+ ${ECHO_MSG} "Error: there is an empty port dependency in ${deptype}_DEPENDS."; \
+ break; \
+ fi; \
dir=`${ECHO_CMD} $$i | ${SED} -e 's/[^:]*://'`; \
if ${EXPR} "$$dir" : '.*:' > /dev/null; then \
target=`${ECHO_CMD} $$dir | ${SED} -e 's/.*://'`; \