diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2012-01-30 12:39:14 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2012-01-30 12:39:14 +0000 |
commit | df0aa973b92158277cba7de4b3058c07ad970fd3 (patch) | |
tree | 20ae43554de8514aa983abb57cc0072f29625110 /Mk | |
parent | 754a54635881c24982b7f369706625707a3e8f3a (diff) | |
download | ports-df0aa973b92158277cba7de4b3058c07ad970fd3.tar.gz ports-df0aa973b92158277cba7de4b3058c07ad970fd3.zip |
Notes
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.pkgng.mk | 278 | ||||
-rw-r--r-- | Mk/bsd.port.mk | 48 |
2 files changed, 315 insertions, 11 deletions
diff --git a/Mk/bsd.pkgng.mk b/Mk/bsd.pkgng.mk new file mode 100644 index 000000000000..d8d17b5e67b1 --- /dev/null +++ b/Mk/bsd.pkgng.mk @@ -0,0 +1,278 @@ +#-*- mode: Makefile: tab-width: 4; -*- +# ex:ts=4 +# +# $FreeBSD$ +# +PKGNG_MAINTAINER= portmgr@FreeBSD.org + +PKG_BIN?= ${LOCALBASE}/sbin/pkg +PKG_CMD= ${PKG_BIN} register +PKG_DELETE= ${PKG_BIN} delete -y +PKG_INFO= ${PKG_BIN} info -g +PKG_VERSION= ${PKG_BIN} version +PKG_CREATE= ${PKG_BIN} create +PKG_ADD= ${PKG_BIN} add +PKG_QUERY= ${PKG_BIN} query + +PKG_SUFX= .txz + +METADIR= ${WRKDIR}/.metadir +MANIFESTF= ${METADIR}/+MANIFEST + +PKGPREINSTALL?= ${PKGDIR}/pkg-pre-install +PKGPOSTINSTALL?= ${PKGDIR}/pkg-post-install +PKGPREDEINSTALL?= ${PKGDIR}/pkg-pre-deinstall +PKGPOSTDEINSTALL?= ${PKGDIR}/pkg-post-deinstall +PKGPREUPGRADE?= ${PKGDIR}/pkg-pre-upgrade +PKGPOSTUPGRADE?= ${PKGDIR}/pkg-post-upgrade +PKGUPGRADE?= ${PKGDIR}/pkg-upgrade +PLIST_REINPLACE:= ${PLIST_REINPLACE:Ndirrmtry} +PLIST_REINPLACE:= ${PLIST_REINPLACE:Nstopdaemon} + +ACTUAL-PACKAGE-DEPENDS?= \ + if [ "${_LIB_RUN_DEPENDS}" != " " ]; then \ + ${PKG_QUERY} " %n: {origin: %o, version: \"%v\"}" " " ${_LIB_RUN_DEPENDS:C,[^:]*:([^:]*):?.*,\1,:C,${PORTSDIR}/,,} ; \ + ${PKG_QUERY} " %dn: {origin: %do, version: \"%dv\"}" " " ${_LIB_RUN_DEPENDS:C,[^:]*:([^:]*):?.*,\1,:C,${PORTSDIR}/,,} ; \ + fi + + +.if !target(fake-pkg) +fake-pkg: +.if !defined(NO_PKG_REGISTER) + @${ECHO_MSG} "===> Registering installation for ${PKGNAME}" + @${MKDIR} ${METADIR} + @${ECHO_CMD} "name: ${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX}" > ${MANIFESTF} + @${ECHO_CMD} "version: ${PKGVERSION}" >> ${MANIFESTF} + @${ECHO_CMD} "origin: ${PKGORIGIN}" >> ${MANIFESTF} + @${ECHO_CMD} "comment: |" >> ${MANIFESTF} + @${ECHO_CMD} " "${COMMENT:Q} >> ${MANIFESTF} + @${ECHO_CMD} "maintainer: ${MAINTAINER}" >> ${MANIFESTF} + @${ECHO_CMD} "prefix: ${PREFIX}" >> ${MANIFESTF} +.if defined(WWW) + @${ECHO_CMD} "www: ${WWW}" >> ${MANIFESTF} +.endif + @${ECHO_CMD} "deps: " >> ${MANIFESTF} + + @${MAKE} -C ${.CURDIR} actual-package-depends | ${GREP} -v -E ${PKG_IGNORE_DEPENDS} | sort -u >> ${MANIFESTF} + @${ECHO_CMD} -n "categories: [" >> ${MANIFESTF} +.for cat in ${CATEGORIES:u} + @${ECHO_CMD} -n "${cat}," >> ${MANIFESTF} +.endfor + @${ECHO_CMD} "]" >> ${MANIFESTF} +.if defined(LICENSE_COMB) + @${ECHO_CMD} "licenselogic: ${LICENSE_COMB}" >> ${MANIFESTF} +.else + @${ECHO_CMD} "licenselogic: single" >> ${MANIFESTF} +.endif + @${ECHO_CMD} -n "licenses: [" >> ${MANIFESTF} +.for lic in ${LICENSE:u} + @${ECHO_CMD} -n "${lic}," >> ${MANIFESTF} +.endfor + @${ECHO_CMD} "]" >> ${MANIFESTF} + @${ECHO_CMD} -n "users: [" >> ${MANIFESTF} +.for user in ${USERS:u} + @${ECHO_CMD} -n "${user}, " >> ${MANIFESTF} +.endfor + @${ECHO_CMD} "]" >> ${MANIFESTF} + @${ECHO_CMD} -n "groups: [" >> ${MANIFESTF} +.for group in ${GROUPS:u} + @${ECHO_CMD} -n "${group}, " >> ${MANIFESTF} +.endfor + @${ECHO_CMD} "]" >> ${MANIFESTF} + @${ECHO_CMD} -n "options: {" >> ${MANIFESTF} + -@if [ -e ${OPTIONSFILE} ]; then \ + . ${OPTIONSFILE}; \ + fi; \ + set -- ${OPTIONS} XXX; \ + while [ $$# -gt 3 ]; do \ + defaultval=$$3 \ + withvar=WITH_$$1; \ + withoutvar=WITHOUT_$$1; \ + withval=$$(eval ${ECHO_CMD} $$\{$${withvar}\}); \ + withoutval=$$(eval ${ECHO_CMD} $$\{$${withoutvar}\}); \ + if [ ! -z "$${withval}" ]; then \ + val=on; \ + elif [ ! -z "$${withoutval}" ]; then \ + val=off; \ + else \ + val="$${defaultval}"; \ + fi; \ + ${ECHO_MSG} -n "$$1: $${val},"; \ + shift 3; \ + done >> ${MANIFESTF} + @${ECHO_CMD} "}" >> ${MANIFESTF} + @${CAT} ${MANIFESTF} + @[ -f ${PKGINSTALL} ] && ${CP} ${PKGINSTALL} ${METADIR}/+INSTALL; \ + [ -f ${PKGPREINSTALL} ] && ${CP} ${PKGPREINSTALL} ${METADIR}/+PRE_INSTALL; \ + [ -f ${PKGPOSTINSTALL} ] && ${CP} ${PKGPOSTINSTALL} ${METADIR}/+POST_INSTALL; \ + [ -f ${PKGDEINSTALL} ] && ${CP} ${PKGDEINSTALL} ${METADIR}/+DEINSTALL; \ + [ -f ${PKGPREDEINSTALL} ] && ${CP} ${PKGPREDEINSTALL} ${METADIR}/+PRE_DEINSTALL; \ + [ -f ${PKGPOSTDEINSTALL} ] && ${CP} ${PKGPOSTDEINSTALL} ${METADIR}/+POST_DEINSTALL; \ + [ -f ${PKGUPGRADE} ] && ${CP} ${PKGUPGRADE} ${METADIR}/+UPGRADE; \ + [ -f ${PKGPREUPGRADE} ] && ${CP} ${PKGPREUPGRADE} ${METADIR}/+PRE_UPGRADE; \ + [ -f ${PKGPOSTUPGRADE} ] && ${CP} ${PKGPOSTUPGRADE} ${METADIR}/+POST_UPGRADE; \ + ${CP} ${DESCR} ${METADIR}/+DESC; \ + [ -f ${PKGMESSAGE} ] && ${CP} ${PKGMESSAGE} ${METADIR}/+DISPLAY || return 0 +.if !defined(NO_MTREE) + @[ -f ${MTREE_FILE} ] && ${CP} ${MTREE_FILE} ${METADIR}/+MTREE_DIRS || return 0 +.endif +.if defined(INSTALLS_DEPENDS) + @${PKG_CMD} -d -l -m ${METADIR} -f ${TMPPLIST} +.else + @${PKG_CMD} -l -m ${METADIR} -f ${TMPPLIST} +.endif +.else + @${DO_NADA} +.endif +.endif + +.if !target(check-build-conflicts) +check-build-conflicts: +.if ( defined(CONFLICTS) || defined(CONFLICTS_BUILD) ) && !defined(DISABLE_CONFLICTS) && !defined(DEFER_CONFLICTS_CHECK) + @conflicts_with=; \ + ${PKG_QUERY} -g "%n-%v %p %o" ${CONFLICTS:C/.+/'&'/} ${CONFLICTS_BUILD:C/.+/'&'/} \ + | while read pkgname prfx orgn; do \ + if [ "/${PREFIX}" = "/$${prfx}" -a "/${PKGORIGIN}" != "/$${orgn}" ]; then \ + conflicts_with="$${conflicts_with} $${pkgname}"; \ + fi; \ + done; \ + if [ -n "$${conflicts_with}" ]; then \ + ${ECHO_MSG}; \ + ${ECHO_MSG} "===> ${PKGNAME} conflicts with installed package(s): "; \ + for entry in $${conflicts_with}; do \ + ${ECHO_MSG} " $${entry}"; \ + done; \ + ${ECHO_MSG}; \ + ${ECHO_MSG} " They will not build together."; \ + ${ECHO_MSG} " Please remove them first with pkg delete."; \ + exit 1;\ + fi +.endif +.endif + +.if !target(identify-install-conflicts) +identify-install-conflicts: +.if ( defined(CONFLICTS) || defined(CONFLICTS_INSTALL) ) && !defined(DISABLE_CONFLICTS) + @conflicts_with=; \ + ${PKG_QUERY} -g "%n-%v %p %o" ${CONFLICTS:C/.+/'&'/} ${CONFLICTS_INSTALL:C/.+/'&'/} \ + | while read pkgname prfx orgn; do \ + if [ "/${PREFIX}" = "/$${prfx}" -a "/${PKGORIGIN}" != "/$${orgn}" ]; then \ + conflicts_with="$${conflicts_with} $${pkgname}"; \ + fi; \ + done; \ + if [ -n "$${conflicts_with}" ]; then \ + ${ECHO_MSG}; \ + ${ECHO_MSG} "===> ${PKGNAME} conflicts with installed package(s): "; \ + for entry in $${conflicts_with}; do \ + ${ECHO_MSG} " $${entry}"; \ + done; \ + ${ECHO_MSG}; \ + ${ECHO_MSG} " They install files into the same place."; \ + ${ECHO_MSG} " You may want to stop build with Ctrl + C."; \ + sleep 10; \ + fi +.endif +.endif + +.if !target(check-install-conflicts) +check-install-conflicts: +.if ( defined(CONFLICTS) || defined(CONFLICTS_INSTALL) || ( defined(CONFLICTS_BUILD) && defined(DEFER_CONFLICTS_CHECK) ) ) && !defined(DISABLE_CONFLICTS) +.if defined(DEFER_CONFLICTS_CHECK) + @conflicts_with; \ + ${PKG_QUERY} -g "%n-%v %p %o" ${CONFLICTS:C/.+/'&'/} ${CONFLICTS_BUILD:C/.+/'&'/} ${CONFLICTS_INSTALL:C/.+/'&'/} \ + | while read pkgname prfx orgn; do \ + if [ "/${PREFIX}" = "/$${prfx}" -a "/${PKGORIGIN}" != "/$${orgn}" ]; then \ + conflicts_with="$${conflicts_with} $${pkgname}"; \ + fi; \ + done; \ + if [ -n "$${conflicts_with}" ]; then \ + ${ECHO_MSG}; \ + ${ECHO_MSG} "===> ${PKGNAME} conflicts with installed package(s): "; \ + for entry in $${conflicts_with}; do \ + ${ECHO_MSG} " $${entry}"; \ + done; \ + ${ECHO_MSG}; \ + ${ECHO_MSG} " Please remove them first with pkg_delete(1)."; \ + exit 1; \ + fi +.else + @conflicts_with=; \ + ${PKG_QUERY} -g "%n-%v %p %o" ${CONFLICTS:C/.+/'&'/} ${CONFLICTS_INSTALL:C/.+/'&'/} \ + | while read pkgname prfx orgn; do \ + if [ "/${PREFIX}" = "/$${prfx}" -a "/${PKGORIGIN}" != "/$${orgn}" ]; then \ + conflicts_with="$${conflicts_with} $${pkgname}"; \ + fi; \ + done; \ + if [ -n "$${conflicts_with}" ]; then \ + ${ECHO_MSG}; \ + ${ECHO_MSG} "===> ${PKGNAME} conflicts with installed package(s): "; \ + for entry in $${conflicts_with}; do \ + ${ECHO_MSG} " $${found}"; \ + done; \ + ${ECHO_MSG}; \ + ${ECHO_MSG} " They install files into the same place."; \ + ${ECHO_MSG} " Please remove them first with pkg_delete(1)."; \ + exit 1; \ + fi +.endif # defined(DEFER_CONFLICTS_CHECK) +.endif +.endif + +.if !target(do-package) +do-package: ${TMPPLIST} + @if [ -d ${PACKAGES} ]; then \ + if [ ! -d ${PKGREPOSITORY} ]; then \ + if ! ${MKDIR} ${PKGREPOSITORY}; then \ + ${ECHO_MSG} "=> Can't create directory ${PKGREPOSITORY}."; \ + exit 1; \ + fi; \ + fi; \ + fi; + @if ${PKG_CREATE} -o ${PKGREPOSITORY} ${PKGNAME}; then \ + if [ -d ${PACKAGES} ]; then \ + cd ${.CURDIR} && eval ${MAKE} package-links; \ + fi; \ + else \ + cd ${.CURDIR} && eval ${MAKE} delete-package; \ + exit 1; \ + fi +.endif + +.if !target(check-already-installed) +check-already-installed: +.if !defined(NO_PKG_REGISTER) && !defined(FORCE_PKG_REGISTER) + @${ECHO_MSG} "===> Checking if ${PKGORIGIN} already installed"; \ + pkgname=`${PKG_INFO} -q -O ${PKGORIGIN}`; \ + if [ -n "$${pkgname}" ]; then \ + v=`${PKG_VERSION} -t $${pkgname} ${PKGNAME}`; \ + if [ "w$${v}" = "x<" ]; then \ + ${ECHO_CMD} "===> An older version of ${PKGORIGIN} is already installed ($${found_package})"; \ + else \ + ${ECHO_CMD} "===> ${PKGNAME} is already installed"; \ + fi; \ + ${ECHO_MSG} " You may wish to \`\`make deinstall'' and install this port again"; \ + ${ECHO_MSG} " by \`\`make reinstall'' to upgrade it properly."; \ + ${ECHO_MSG} " If you really wish to overwrite the old port of ${PKGORIGIN}"; \ + ${ECHO_MSG} " without deleting it first, set the variable \"FORCE_PKG_REGISTER\""; \ + ${ECHO_MSG} " in your environment or the \"make install\" command line."; \ + exit 1; \ + fi +.else + @${DO_NADA} +.endif +.endif + + +.if !target(deinstall) +deinstall: + @${ECHO_MSG} "===> Deinstalling for ${PKGORIGIN}" + @if ${PKG_INFO} -e ${PKGORIGIN}; then \ + p=`${PKG_INFO} -q ${PKGORIGIN}`; \ + ${ECHO_MSG} "===> Deinstalling $${p}"; \ + ${PKG_DELETE} -f ${PKGORIGIN} ; \ + else \ + ${ECHO_MSG} "===> ${PKGBASE} not installed, skipping"; \ + fi + @${RM} -f ${INSTALL_COOKIE} ${PACKAGE_COOKIE} +.endif + diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk index 53d60444ec33..98e5eaa5bd78 100644 --- a/Mk/bsd.port.mk +++ b/Mk/bsd.port.mk @@ -1404,6 +1404,10 @@ LDCONFIG_CMD?= ${LINUXBASE}/sbin/ldconfig -r ${LINUXBASE} PKGCOMPATDIR?= ${LOCALBASE}/lib/compat/pkg +.if defined(WITH_PKGNG) +.include "${PORTSDIR}/Mk/bsd.pkgng.mk" +.endif + .if defined(USE_LOCAL_MK) .include "${PORTSDIR}/Mk/bsd.local.mk" .endif @@ -1658,6 +1662,12 @@ LIB32DIR= lib .endif PLIST_SUB+= LIB32DIR=${LIB32DIR} +.if defined(WITH_PKGNG) +.if !defined(PKG_DEPENDS) +PKG_DEPENDS+= ${LOCALBASE}/sbin/pkg:${PORTSDIR}/ports-mgmt/pkg +.endif +.endif + .if defined(USE_ZIP) EXTRACT_DEPENDS+= ${LOCALBASE}/bin/unzip:${PORTSDIR}/archivers/unzip .endif @@ -1984,6 +1994,9 @@ IGNORE= uses unknown USE_BISON construct .endif +.if defined(WITH_PKGNG) +.include "${PORTSDIR}/Mk/bsd.pkgng.mk" +.endif .if defined(USE_LOCAL_MK) .include "${PORTSDIR}/Mk/bsd.local.mk" .endif @@ -4268,7 +4281,10 @@ _SANITY_SEQ= ${_CHROOT_SEQ} pre-everything check-makefile \ check-depends identify-install-conflicts check-deprecated \ check-vulnerable check-license buildanyway-message \ options-message -_FETCH_DEP= check-sanity + +_PKG_DEP= check-sanity +_PKG_SEQ= pkg-depends +_FETCH_DEP= pkg-depends _FETCH_SEQ= fetch-depends pre-fetch pre-fetch-script \ do-fetch post-fetch post-fetch-script _EXTRACT_DEP= fetch @@ -4364,6 +4380,7 @@ ${${target:U}_COOKIE}:: # Enforce order for -jN builds .ORDER: ${_SANITY_SEQ} +.ORDER: ${_PKG_DEP} ${_PKG_SEQ} .ORDER: ${_FETCH_DEP} ${_FETCH_SEQ} .ORDER: ${_EXTRACT_DEP} ${_EXTRACT_SEQ} .ORDER: ${_PATCH_DEP} ${_PATCH_SEQ} @@ -4388,7 +4405,7 @@ package-message: # Empty pre-* and post-* targets .for stage in pre post -.for name in check-sanity fetch extract patch configure build install package +.for name in pkg check-sanity fetch extract patch configure build install package .if !target(${stage}-${name}) ${stage}-${name}: @@ -4957,7 +4974,7 @@ package-noinstall: ################################################################ .if !target(depends) -depends: extract-depends patch-depends lib-depends fetch-depends build-depends run-depends +depends: pkg-depends extract-depends patch-depends lib-depends fetch-depends build-depends run-depends .if defined(ALWAYS_BUILD_DEPENDS) _DEPEND_ALWAYS= 1 @@ -4968,9 +4985,18 @@ _DEPEND_ALWAYS= 0 _INSTALL_DEPENDS= \ if [ X${USE_PACKAGE_DEPENDS} != "X" ]; then \ subpkgfile=`(cd $$dir; ${MAKE} $$depends_args -V PKGFILE)`; \ + subpkgname=$${subpkgfile%-*} ; \ + subpkgname=$${subpkgname\#\#*/} ; \ if [ -r "$${subpkgfile}" -a "$$target" = "${DEPENDS_TARGET}" ]; then \ ${ECHO_MSG} "===> Installing existing package $${subpkgfile}"; \ - ${PKG_ADD} $${subpkgfile}; \ + if [ -n "${WITH_PKGNG}" -a $${subpkgname} = "pkg" ]; then \ + [ -d ${WRKDIR} ] || ${MKDIR} ${WRKDIR} ; \ + ${TAR} xf $${subpkgfile} -C ${WRKDIR} -s ",/.*/,,g" "*/pkg-static" ; \ + ${WRKDIR}/pkg-static add $${subpkgfile}; \ + ${RM} -f ${WRKDIR}/pkg-static; \ + else \ + ${PKG_ADD} $${subpkgfile}; \ + fi; \ else \ (cd $$dir; ${MAKE} -DINSTALLS_DEPENDS $$target $$depends_args) ; \ fi; \ @@ -4979,7 +5005,7 @@ _INSTALL_DEPENDS= \ fi; \ ${ECHO_MSG} "===> Returning to build of ${PKGNAME}"; -.for deptype in EXTRACT PATCH FETCH BUILD RUN +.for deptype in PKG EXTRACT PATCH FETCH BUILD RUN ${deptype:L}-depends: .if defined(${deptype}_DEPENDS) .if !defined(NO_DEPENDS) @@ -5124,7 +5150,7 @@ lib-depends: # Dependency lists: both build and runtime, recursive. Print out directory names. -_UNIFIED_DEPENDS=${EXTRACT_DEPENDS} ${PATCH_DEPENDS} ${FETCH_DEPENDS} ${BUILD_DEPENDS} ${LIB_DEPENDS} ${RUN_DEPENDS} +_UNIFIED_DEPENDS=${PKG_DEPENDS} ${EXTRACT_DEPENDS} ${PATCH_DEPENDS} ${FETCH_DEPENDS} ${BUILD_DEPENDS} ${LIB_DEPENDS} ${RUN_DEPENDS} _DEPEND_DIRS= ${_UNIFIED_DEPENDS:C,^[^:]*:([^:]*).*$,\1,} all-depends-list: @@ -5311,7 +5337,7 @@ fetch-required: fetch @${ECHO_MSG} "===> NO_DEPENDS is set, not fetching any other distfiles for ${PKGNAME}" .else @${ECHO_MSG} "===> Fetching all required distfiles for ${PKGNAME} and dependencies" -.for deptype in EXTRACT PATCH FETCH BUILD RUN +.for deptype in PKG EXTRACT PATCH FETCH BUILD RUN .if defined(${deptype}_DEPENDS) @targ=fetch; deps="${${deptype}_DEPENDS}"; ${FETCH_LIST} .endif @@ -5323,7 +5349,7 @@ fetch-required: fetch .if !target(fetch-required-list) fetch-required-list: fetch-list .if !defined(NO_DEPENDS) -.for deptype in EXTRACT PATCH FETCH BUILD RUN +.for deptype in PKG EXTRACT PATCH FETCH BUILD RUN .if defined(${deptype}_DEPENDS) @targ=fetch-list; deps="${${deptype}_DEPENDS}"; ${FETCH_LIST} .endif @@ -5342,12 +5368,12 @@ checksum-recursive: # Dependency lists: build and runtime. Print out directory names. build-depends-list: -.if defined(EXTRACT_DEPENDS) || defined(PATCH_DEPENDS) || defined(FETCH_DEPENDS) || defined(BUILD_DEPENDS) || defined(LIB_DEPENDS) +.if defined(PKG_DEPENDS) || defined(EXTRACT_DEPENDS) || defined(PATCH_DEPENDS) || defined(FETCH_DEPENDS) || defined(BUILD_DEPENDS) || defined(LIB_DEPENDS) @${BUILD-DEPENDS-LIST} .endif BUILD-DEPENDS-LIST= \ - for dir in $$(${ECHO_CMD} "${EXTRACT_DEPENDS} ${PATCH_DEPENDS} ${FETCH_DEPENDS} ${BUILD_DEPENDS} ${LIB_DEPENDS}" | ${SED} -E -e 's,([^: ]*):([^: ]*)(:[^ ]*)?,\2,g' -e 'y/ /\n/'| ${SORT} -u); do \ + 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 \ if [ -d $$dir ]; then \ ${ECHO_CMD} $$dir; \ else \ @@ -5575,7 +5601,7 @@ _PRETTY_PRINT_DEPENDS_LIST=\ .if !target(pretty-print-build-depends-list) pretty-print-build-depends-list: -.if defined(EXTRACT_DEPENDS) || defined(PATCH_DEPENDS) || \ +.if defined(PKG_PEPENDS) || defined(EXTRACT_DEPENDS) || defined(PATCH_DEPENDS) || \ defined(FETCH_DEPENDS) || defined(BUILD_DEPENDS) || defined(LIB_DEPENDS) @${_PRETTY_PRINT_DEPENDS_LIST} .endif |