Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Sep 2013 12:50:48 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r326143 - head/Mk
Message-ID:  <201309031250.r83ComJQ015585@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdrewery
Date: Tue Sep  3 12:50:47 2013
New Revision: 326143
URL: http://svnweb.freebsd.org/changeset/ports/326143

Log:
  - 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

Modified:
  head/Mk/bsd.port.mk

Modified: head/Mk/bsd.port.mk
==============================================================================
--- head/Mk/bsd.port.mk	Tue Sep  3 12:50:18 2013	(r326142)
+++ head/Mk/bsd.port.mk	Tue Sep  3 12:50:47 2013	(r326143)
@@ -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; \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309031250.r83ComJQ015585>