pkgsrc-Bugs archive

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

Re: pkg/39238: pkgsrc bootstrap fails on OpenSolaris 2008.05 during install phase



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

From: "David H. Gutteridge" <dhgutteridge%sympatico.ca@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/39238: pkgsrc bootstrap fails on OpenSolaris 2008.05 during 
install
 phase
Date: Tue, 29 Jul 2008 21:23:44 -0400

 Tobias Nygren wrote:
 >  On Mon, 28 Jul 2008 13:43:36 +0200
 >  Joerg Sonnenberger <joerg%britannica.bec.de@localhost> wrote:
 >
 >  > > pdksh: /usr/ucb/echo: not found
 >  >
 >  > Now that we require a sane shell, can we just use the shell builtin?
 >  > That applies for Darwin, HP-UX, Interix and OSF1 as well.
 >  >
 >  > Joerg
 >
 >  Only Solaris and OSF/1 require pdksh right now. Using the shell
 >  builtin for those two is fine with me. I don't know about the others.
 >
 >  -Tobias
 
 So that would mean we'd be doing this:
 
 --- tools.SunOS.mk~     2007-11-28 20:07:50.000000000 -0500
 +++ tools.SunOS.mk      2008-07-29 20:13:58.905397228 -0400
 @@ -38,7 +38,7 @@
 TOOLS_PLATFORM.diff3?=         /usr/bin/diff3
 .endif
 TOOLS_PLATFORM.dirname?=       /usr/bin/dirname
 -TOOLS_PLATFORM.echo?=          /usr/ucb/echo
 +TOOLS_PLATFORM.echo?=          echo                    # shell builtin
 TOOLS_PLATFORM.egrep?=         /usr/xpg4/bin/grep -E
 TOOLS_PLATFORM.env?=           /usr/bin/env
 TOOLS_PLATFORM.expr?=          /usr/xpg4/bin/expr
 @@ -55,7 +55,11 @@
 TOOLS_PLATFORM.head?=          /usr/bin/head
 TOOLS_PLATFORM.hostname?=      /bin/hostname
 TOOLS_PLATFORM.id?=            /usr/xpg4/bin/id
 +.if exists(/usr/ucb/install)
 TOOLS_PLATFORM.install?=       /usr/ucb/install
 +.elif exists(/usr/bin/ginstall)
 +TOOLS_PLATFORM.install?=       /usr/bin/ginstall
 +.endif
 TOOLS_PLATFORM.ln?=            /usr/bin/ln
 TOOLS_PLATFORM.ls?=            /usr/bin/ls
 TOOLS_PLATFORM.m4?=            /usr/ccs/bin/m4
 
 That worked for me.
 
 Dave
 
 


Home | Main Index | Thread Index | Old Index