diff options
author | mat <mat@FreeBSD.org> | 2017-12-01 20:11:58 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2017-12-01 20:11:58 +0800 |
commit | e48f9087032b51ea140bba148ee6326105b3cf6b (patch) | |
tree | eb07f343792bbd3b540aea0c7127ca995aecd749 /Mk | |
parent | c5eccb21d1ab3c066bb57469f166b9afa1358d64 (diff) | |
download | freebsd-ports-gnome-e48f9087032b51ea140bba148ee6326105b3cf6b.tar.gz freebsd-ports-gnome-e48f9087032b51ea140bba148ee6326105b3cf6b.tar.zst freebsd-ports-gnome-e48f9087032b51ea140bba148ee6326105b3cf6b.zip |
Fix build-depends-list and run-depends-list.
Sponsored by: Absolight
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.port.mk | 28 |
1 files changed, 2 insertions, 26 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk index 51a3516ab465..bd81aa8f92c0 100644 --- a/Mk/bsd.port.mk +++ b/Mk/bsd.port.mk @@ -4040,6 +4040,8 @@ DEPENDS-LIST= \ ALL-DEPENDS-LIST= ${DEPENDS-LIST} -r ${_UNIFIED_DEPENDS:Q} MISSING-DEPENDS-LIST= ${DEPENDS-LIST} -m ${_UNIFIED_DEPENDS:Q} +BUILD-DEPENDS-LIST= ${DEPENDS-LIST} "${PKG_DEPENDS} ${EXTRACT_DEPENDS} ${PATCH_DEPENDS} ${FETCH_DEPENDS} ${BUILD_DEPENDS} ${LIB_DEPENDS}" +RUN-DEPENDS-LIST= ${DEPENDS-LIST} "${LIB_DEPENDS} ${RUN_DEPENDS}" TEST-DEPENDS-LIST= ${DEPENDS-LIST} ${TEST_DEPENDS:Q} CLEAN-DEPENDS-LIST= ${DEPENDS-LIST} -wr ${_UNIFIED_DEPENDS:Q} CLEAN-DEPENDS-LIMITED-LIST= ${DEPENDS-LIST} -w ${_UNIFIED_DEPENDS:Q} @@ -4172,37 +4174,11 @@ build-depends-list: @${BUILD-DEPENDS-LIST} .endif -BUILD-DEPENDS-LIST= \ - for dir in $$(${ECHO_CMD} "${PKG_DEPENDS} ${EXTRACT_DEPENDS} ${PATCH_DEPENDS} ${FETCH_DEPENDS} ${BUILD_DEPENDS} ${LIB_DEPENDS}" | ${SED} -E -e 's,([^: ]*):([^: ]*)(:[^ ]*)?,\2,g' -e 'y/ /\n/'| ${SORT} -u); do \ - case $$dir in \ - /*) pdir=$$dir ;; \ - *) pdir=${PORTSDIR}/$$dir ;; \ - esac ; \ - if [ -d $$pdir ]; then \ - ${ECHO_CMD} $$pdir; \ - else \ - ${ECHO_MSG} "${PKGNAME}: \"$$pdir\" non-existent -- dependency list incomplete" >&2; \ - fi; \ - done | ${SORT} -u - run-depends-list: .if defined(LIB_DEPENDS) || defined(RUN_DEPENDS) @${RUN-DEPENDS-LIST} .endif -RUN-DEPENDS-LIST= \ - for dir in $$(${ECHO_CMD} "${_LIB_RUN_DEPENDS:C,.*:([^:]*).*,\1,}" | ${SED} -e 'y/ /\n/' | ${SORT} -u); do \ - case $$dir in \ - /*) pdir=$$dir ;; \ - *) pdir=${PORTSDIR}/$$dir ;; \ - esac ; \ - if [ -d $$pdir ]; then \ - ${ECHO_CMD} $$pdir; \ - else \ - ${ECHO_MSG} "${PKGNAME}: \"$$pdir\" non-existent -- dependency list incomplete" >&2; \ - fi; \ - done | ${SORT} -u - test-depends-list: .if defined(TEST_DEPENDS) @${TEST-DEPENDS-LIST} |