1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

- The output from PKG_INFO is actually needed

With hat:	portmgr
Pointyhat to:	bdrewery
This commit is contained in:
Bryan Drewery 2014-05-29 22:21:35 +00:00
parent 40fe690941
commit 59efeb0862
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=355757

View File

@ -4956,7 +4956,7 @@ ${deptype:tl}-depends:
inverse_dep=`${ECHO_CMD} $$prog | ${SED} \
-e 's/<=/=gt=/; s/</=ge=/; s/>=/=lt=/; s/>/=le=/' \
-e 's/=gt=/>/; s/=ge=/>=/; s/=lt=/</; s/=le=/<=/'`; \
pkg_info=`${PKG_INFO} -E "$$inverse_dep" >/dev/null 2>&1 || ${TRUE}`; \
pkg_info=`${PKG_INFO} -E "$$inverse_dep" 2>/dev/null || ${TRUE}`; \
if [ "$$pkg_info" != "" ]; then \
${ECHO_MSG} "===> Found $$pkg_info, but you need to upgrade to $$prog."; \
exit 1; \