- Followup to r325807, with USE_PACKAGE_DEPENDS_ONLY, still allow

ports framework to use the port for *_DEPENDS= ${NONEXISTENT}:PORT:target
  dependencies

  An example port is irc/gseen.mod, it depends on another port being
  extracted, not an installed pkg.

PR:		ports/180725
Reported by:	antoine
With hat:	portmgr
This commit is contained in:
Bryan Drewery 2013-09-03 12:50:47 +00:00
parent da01ddab02
commit ef5f6a9353
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=326143

View file

@ -4923,7 +4923,7 @@ _INSTALL_DEPENDS= \
else \
${PKG_ADD} $${subpkgfile}; \
fi; \
elif [ -n "${USE_PACKAGE_DEPENDS_ONLY}" ]; then \
elif [ -n "${USE_PACKAGE_DEPENDS_ONLY}" -a "$${target}" = "${DEPENDS_TARGET}" ]; then \
${ECHO_MSG} "===> ${PKGNAME} depends on package: $${subpkgfile} - not found"; \
${ECHO_MSG} "===> USE_PACKAGE_DEPENDS_ONLY set - will not build from source"; \
exit 1; \