pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/30954
The following reply was made to PR pkg/30954; it has been noted by GNATS.
From: Chapman Flack <nbgnats%anastigmatix.net@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: pkg/30954
Date: Wed, 10 Aug 2005 11:04:19 -0500
Improved patch (I oughtn't mix quotes and :Q). This is the apply-after-30929
version.
--- bsd.pkg.mk 2005-08-09 14:49:01.000000000 -0500
+++ bsd.pkg.mk 2005-08-09 17:39:17.000000000 -0500
@@ -3493,8 +3493,8 @@
pkgpath=${PKGREPOSITORY:Q} ; \
for i in ${BINPKG_SITES} ; do pkgpath="$$pkgpath;$$i/All" ; done ; \
${ECHO} "Trying $$pkgpath" ; \
- if ${SETENV} PKG_PATH="$$pkgpath" ${PKG_ADD} ${BIN_INSTALL_FLAGS}
${PKGNAME}${PKG_SUFX} ; then \
- ${ECHO} ${PKGNAME} successfully installed.; \
+ if ${SETENV} PKG_PATH="$$pkgpath" ${PKG_ADD} ${BIN_INSTALL_FLAGS}
${PKGNAME_REQD:U${PKGNAME}:Q}${PKG_SUFX} ; then \
+ ${PKG_INFO} -e ${PKGNAME_REQD:U${PKGNAME}:Q} | ${ECHO} "`cat`
successfully installed."; \
else \
${SHCOMMENT} Cycle through some FTP server here ;\
${ECHO_MSG} "Installing from source" ; \
@@ -3505,7 +3505,7 @@
.PHONY: bin-install
bin-install:
- @${ECHO_MSG} "${_PKGSRC_IN}> Binary install for ${PKGNAME}"
+ @${ECHO_MSG} "${_PKGSRC_IN}> Binary install for
"${PKGNAME_REQD:U${PKGNAME}:Q}
${_PKG_SILENT}${_PKG_DEBUG} \
realtarget="real-su-bin-install"; \
action="binary install"; \
Home |
Main Index |
Thread Index |
Old Index