Subject: Re: pkg/29430: package games/rocksndiamonds fails to install
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Jeremy C. Reed <reed@reedmedia.net>
List: pkgsrc-bugs
Date: 02/17/2005 19:37:01
The following reply was made to PR pkg/29430; it has been noted by GNATS.
From: "Jeremy C. Reed" <reed@reedmedia.net>
To: almeyers@consult-meyers.com
Cc: gnats-bugs@netbsd.org
Subject: Re: pkg/29430: package games/rocksndiamonds fails to install
Date: Thu, 17 Feb 2005 11:36:48 -0800 (PST)
On Thu, 17 Feb 2005, A L Meyers wrote:
> [alm@localhost pkgsrc]$ which id
> /bin/id
> [alm@localhost pkgsrc]$ type id
> id is /bin/id
>
> Should I symlink /bin/id to /usr/bin/id or is there
> a more universal solution for "most" systems?
The Pkgsrc solution for Linux is to be defined in
pkgsrc/mk/platforms/Linux.mk
Index: mk/platform/Linux.mk
===================================================================
RCS file: /cvsroot/pkgsrc/mk/platform/Linux.mk,v
retrieving revision 1.8
diff -b -u -r1.8 Linux.mk
--- mk/platform/Linux.mk 28 Jan 2005 21:05:59 -0000 1.8
+++ mk/platform/Linux.mk 17 Feb 2005 19:35:20 -0000
@@ -67,7 +67,11 @@
HEAD?= /usr/bin/head
.endif
HOSTNAME_CMD?= /bin/hostname
+.if exists(/bin/id)
+ID?= /bin/id
+.else
ID?= /usr/bin/id
+.endif
IMAKE?= ${X11BASE}/bin/imake ${IMAKEOPTS}
IMAKEOPTS+= -DBuildHtmlManPages=NO
LDCONFIG?= /sbin/ldconfig
Can you try to add the above to your mk/platform/Linux.mk ?
And try your games/rocksndiamonds install (may need to do a "make
clean" first) again?
Jeremy C. Reed
technical support & remote administration
http://www.pugetsoundtechnology.com/