svn commit: r410470 - head/Mk

Baptiste Daroussin bapt at FreeBSD.org
Sun Mar 6 17:38:24 UTC 2016


Author: bapt
Date: Sun Mar  6 17:38:22 2016
New Revision: 410470
URL: https://svnweb.freebsd.org/changeset/ports/410470

Log:
  Fix the fetch-specials target when dependencies are defined without ${PORTSDIR}

Modified:
  head/Mk/bsd.port.mk

Modified: head/Mk/bsd.port.mk
==============================================================================
--- head/Mk/bsd.port.mk	Sun Mar  6 17:35:38 2016	(r410469)
+++ head/Mk/bsd.port.mk	Sun Mar  6 17:38:22 2016	(r410470)
@@ -4390,6 +4390,10 @@ deinstall-depends:
 fetch-specials:
 	@${ECHO_MSG} "===> Fetching all distfiles required by ${PKGNAME} for building"
 	@for dir in ${_DEPEND_SPECIALS}; do \
+		case $$dir in \
+		/*) ;; \
+		*) dir=${PORTSDIR}/$$dir ;; \
+		esac; \
 		(cd $$dir; ${MAKE} fetch); \
 	done
 .endif


More information about the svn-ports-head mailing list