pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/29430: package games/rocksndiamonds fails to install



The following reply was made to PR pkg/29430; it has been noted by GNATS.

From: A L Meyers <me%privacy.net@localhost>
To: "Jeremy C. Reed" <reed%reedmedia.net@localhost>
Cc: gnats-bugs%netbsd.org@localhost
Subject: Re: pkg/29430: package games/rocksndiamonds fails to install
Date: Thu, 17 Feb 2005 20:57:02 +0100

 Jeremy C. Reed wrote:
 
 >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/
 >
 >
 >
 >  
 >
 Hi Jeremy,
 
 Just added the .if etc. procedure without going through the patch loop.
 
 Worked! games/rocksndiamonds build and installed smoothly.
 
 Thanks! So tomorrow morning I shall find your new code in place when
 I cvs update pkrsrc. :-)
 
 Lux
 



Home | Main Index | Thread Index | Old Index