pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/30477: bsd.pkg.mk r1.1688 causes warning messages on Solaris
The following reply was made to PR pkg/30477; it has been noted by GNATS.
From: Thomas Klausner <wiz%NetBSD.org@localhost>
To: neil.hoggarth%physiol.ox.ac.uk@localhost
Cc: gnats-bugs%NetBSD.org@localhost
Subject: Re: pkg/30477: bsd.pkg.mk r1.1688 causes warning messages on Solaris
Date: Thu, 9 Jun 2005 11:40:32 +0200
--5vNYLRcllDrimb99
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
On Thu, Jun 09, 2005 at 09:14:00AM +0000,
neil.hoggarth%physiol.ox.ac.uk@localhost wrote:
> Revision 1.1688 of pkgsrc/mk/bsd.pkg.mk causes "id" to be called with
> the "-n" flag whenever bmake is run within the pkgsrc system. On Solaris
> this causes lots of warnings of the form:
How about the attached diff?
Thomas
--5vNYLRcllDrimb99
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="bsd.pkg.mk.diff"
? bulk/build.conf
Index: bsd.pkg.mk
===================================================================
RCS file: /cvsroot/pkgsrc/mk/bsd.pkg.mk,v
retrieving revision 1.1688
diff -u -r1.1688 bsd.pkg.mk
--- bsd.pkg.mk 8 Jun 2005 22:44:08 -0000 1.1688
+++ bsd.pkg.mk 9 Jun 2005 09:40:28 -0000
@@ -4857,11 +4857,9 @@
.endif
_PKGPATH= ${.CURDIR:S/${_PKGSRCDIR}\///}
# override in /etc/mk.conf with your NetBSD login if different
-.if !defined(NETBSD_LOGIN_NAME)
-NETBSD_LOGIN_NAME!= id -nu
-.endif
+NETBSD_LOGIN_NAME?= `id -nu`
CDATE!= date -u +%Y-%m-%d
.PHONY: changes-entry
changes-entry:
- @${ECHO} " "${CTYPE:Q}" "${_PKGPATH:Q}${_CTYPE2}"
["${NETBSD_LOGIN_NAME:Q}" "${CDATE:Q}"]"\
+ @${ECHO} " "${CTYPE:Q}" "${_PKGPATH:Q}${_CTYPE2}"
[${NETBSD_LOGIN_NAME} "${CDATE:Q}"]"\
>> ${_PKGSRCDIR}/doc/CHANGES
--5vNYLRcllDrimb99--
Home |
Main Index |
Thread Index |
Old Index