1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-06 11:41:52 +00:00

Add another anti-foot-shooting measure that will be necessary for finishing

the work on bsd.perl.mk.
This commit is contained in:
Mark Linimon 2007-09-27 06:27:40 +00:00
parent 6eddd8024f
commit b737126ada
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=200163

View File

@ -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/.*://'`; \