Date: Sun, 12 Aug 2012 11:13:09 +0100 (BST) From: Chris Rees <crees@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/170552: bsd.port.mk: Fix CONFIGURE_FAIL_MESSAGE to be pkgng-aware Message-ID: <20120812101309.442F414167@pegasus.bayofrum.net> Resent-Message-ID: <201208121020.q7CAK3eA055953@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 170552 >Category: ports >Synopsis: bsd.port.mk: Fix CONFIGURE_FAIL_MESSAGE to be pkgng-aware >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Aug 12 10:20:03 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Chris Rees >Release: FreeBSD 9.0-RELEASE amd64 >Organization: >Environment: System: FreeBSD pegasus.bayofrum.net 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Sun Apr 29 12:29:02 BST 2012 root@pegasus.bayofrum.net:/usr/obj/usr/src/sys/PEGASUS amd64 >Description: If configure fails, a message is printed asking the user to ls /var/db/pkg to get all packages installed. For years, this has worked fine... but nowadays: [crees@pegasus]~% ls /var/db/pkg /var/db/pkg/repo.sqlite /var/db/pkg/local.sqlite >How-To-Repeat: >Fix: pkg_info -Ea and pkg info -Ea both do what is required here. Really, this shouldn't require an exp-run, but I guess it wouldn't hurt to stick it in with another change. --- bsd.port.mk-configure-fail-message.diff begins here --- Index: bsd.port.mk =================================================================== --- bsd.port.mk (revision 302404) +++ bsd.port.mk (working copy) @@ -2908,7 +2908,7 @@ CONFIGURE_LOG?= config.log # A default message to print if do-configure fails. -CONFIGURE_FAIL_MESSAGE?= "Please report the problem to ${MAINTAINER} [maintainer] and attach the \"${CONFIGURE_WRKSRC}/${CONFIGURE_LOG}\" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. an \`ls ${PKG_DBDIR}\`)." +CONFIGURE_FAIL_MESSAGE?= "Please report the problem to ${MAINTAINER} [maintainer] and attach the \"${CONFIGURE_WRKSRC}/${CONFIGURE_LOG}\" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. a ${PKG_INFO} -Ea)." .if defined(GNU_CONFIGURE) # Maximum command line length --- bsd.port.mk-configure-fail-message.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120812101309.442F414167>