Date: Thu, 26 Apr 2012 13:15:50 -0700 From: Garrett Cooper <yanegomi@gmail.com> To: <FreeBSD-gnats-submit@FreeBSD.org>, <freebsd-ports-bugs@FreeBSD.org> Subject: Re: ports/164390: make package-recursive fails with noise Message-ID: <1E98D62D-82BF-44A8-AB17-DB95787DA78E@gmail.com> In-Reply-To: <201201230220.q0N2K7Vw061189@freefall.freebsd.org> References: <201201230220.q0N2K7Vw061189@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail=_6CF04D2D-A4A8-4D90-858D-B435AF0D7CA9 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="us-ascii" Here's a working, hacky patch that makes package-recursive work. = check-already-installed and the installation code will need to be = revised for the "ports 2.0" work that I have going on in the background. Thanks, -Garrett PS Please dupe ports/167191 to this bug. --Apple-Mail=_6CF04D2D-A4A8-4D90-858D-B435AF0D7CA9 Content-Disposition: attachment; filename="fix-package-recursive.patch" Content-Type: application/octet-stream; x-unix-mode=0644; name="fix-package-recursive.patch" Content-Transfer-Encoding: 7bit --- Mk/bsd.port.mk 2012-04-25 12:48:58.000000000 -0700 +++ Mk/bsd.port.mk 2012-04-25 12:51:33.000000000 -0700 @@ -5488,9 +5488,14 @@ # Build packages for port and dependencies -package-recursive: package - @for dir in $$(${ALL-DEPENDS-LIST}); do \ - (cd $$dir; ${MAKE} package-noinstall); \ +package-recursive: + @for dir in $$(${ALL-DEPENDS-LIST}) ${.CURDIR}; do \ + cd $$dir; \ + if ${MAKE} check-already-installed >/dev/null 2>&1; then \ + ${RM} -f ${INSTALL_COOKIE} ${PACKAGE_COOKIE}; \ + ${MAKE} install; \ + fi; \ + ${MAKE} package-noinstall; \ done # Show missing dependencies --Apple-Mail=_6CF04D2D-A4A8-4D90-858D-B435AF0D7CA9--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1E98D62D-82BF-44A8-AB17-DB95787DA78E>