[Midnightbsd-cvs] mports [22238] trunk/Mk/bsd.mport.mk: use the new _LIB_RUN_DEPENDS var

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Fri Jan 27 12:05:25 EST 2017


Revision: 22238
          http://svnweb.midnightbsd.org/mports/?rev=22238
Author:   laffer1
Date:     2017-01-27 12:05:25 -0500 (Fri, 27 Jan 2017)
Log Message:
-----------
use the new _LIB_RUN_DEPENDS var

Modified Paths:
--------------
    trunk/Mk/bsd.mport.mk

Modified: trunk/Mk/bsd.mport.mk
===================================================================
--- trunk/Mk/bsd.mport.mk	2017-01-27 16:12:24 UTC (rev 22237)
+++ trunk/Mk/bsd.mport.mk	2017-01-27 17:05:25 UTC (rev 22238)
@@ -77,7 +77,6 @@
 .else
 MTREE_FILE=	${PORTSDIR}/Templates/BSD.local.dist
 .endif
-
 .endif
 MTREE_CMD?=		/usr/sbin/mtree
 MTREE_LINUX_FILE?=	${PORTSDIR}/Templates/BSD.compat.dist
@@ -3703,8 +3702,12 @@
 # the mport binary tools only store the the first tier of the depenancy
 # tree in a mports archive.
 PACKAGE-DEPENDS-LIST?= \
-	for depend in `${ECHO_CMD} "${LIB_DEPENDS} ${RUN_DEPENDS}" | ${SED} -e 'y/ /\n/' | ${SORT} -u`; do \
+	for depend in `${ECHO_CMD} "${_LIB_RUN_DEPENDS}" | ${SED} -e 'y/ /\n/' | ${SORT} -u`; do \
 		version=`(${ECHO_CMD} $$depend | ${CUT} -f 1 -d ':' | ${GREP} -se '[<>]') || ${TRUE}`; \
+		case "$$dir" in \
+		/*) ;; \
+		*) dir=${PORTSDIR}/$$dir ;; \
+		esac ; \
 		dir=`${ECHO_CMD} $$depend | ${CUT} -f 2 -d ':' | ${XARGS} ${REALPATH}`; \
 		if [ -d $$dir ]; then \
 			meta=`cd $$dir && ${MAKE} -V PKGBASE -V PKGORIGIN | ${PASTE} - -`; \



More information about the Midnightbsd-cvs mailing list