Subject: Re: pkg/34215: games/grhino
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Gilles Dauphin <Gilles.Dauphin@enst.fr>
List: pkgsrc-bugs
Date: 08/16/2006 17:50:01
The following reply was made to PR pkg/34215; it has been noted by GNATS.

From: Gilles Dauphin <Gilles.Dauphin@enst.fr>
To: pkg-manager@NetBSD.org, gnats-admin@NetBSD.org,
	gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/34215: games/grhino
Date: Wed, 16 Aug 2006 19:49:17 +0200 (CEST)

 > Delivered-To: dauphin@enst.fr
 > X-Virus-Scanned: amavisd-new at enst.fr
 > From: Joerg Sonnenberger <joerg@britannica.bec.de>
 > To: pkg-manager@NetBSD.org, gnats-admin@NetBSD.org, pkgsrc-bugs@NetBSD.org, 
 "Gilles Dauphin" <dauphin@enst.fr>
 > Subject: Re: pkg/34215: games/grhino
 > X-Gnats-Was-Stupid: no
 > Cc: 
 > 
 > The following reply was made to PR pkg/34215; it has been noted by GNATS.
 > 
 > From: Joerg Sonnenberger <joerg@britannica.bec.de>
 > To: gnats-bugs@NetBSD.org
 > Cc: 
 > Subject: Re: pkg/34215: games/grhino
 > Date: Wed, 16 Aug 2006 19:31:38 +0200
 > 
 >  On Wed, Aug 16, 2006 at 05:15:01PM +0000, Gilles Dauphin wrote:
 >  > bmake install fail because of Solaris /bin/sh does not support test -e
 >  > 
 >  > here is the fault fragment of Makefile
 >  > 
 >  > if [ ! -e "/usr/pkg/bin" ]; then                \
 >  >                 mkdir -p "/usr/pkg/bin";                \
 >  >                 chmod 755 "/usr/pkg/bin";               \
 >  >         fi
 >  
 >  Whoever wants to fix this, please just kill that check.
 
 I think the patch i send is correct. (gmake + Makefile.in) because i show
  you just a peace of Makefile.in:
 
 install_mkdir :
         if [ ! -e "$(bindir)" ]; then           \
                 mkdir -p "$(bindir)";           \
                 chmod 755 "$(bindir)";          \
         fi
         if [ ! -e "$(pattern_dir)" ]; then      \
                 mkdir -p "$(pattern_dir)";      \
                 chmod 755 "$(pattern_dir)";     \
         fi
         if [ ! -e "$(book_dir)" ]; then         \
                 mkdir -p "$(book_dir)";         \
                 chmod 755 "$(book_dir)";        \
         fi
         if [ ! -e "$(theme_dir)" ]; then        \
                 mkdir -p "$(theme_dir)";        \
                 chmod 755 "$(theme_dir)";       \
         fi
         if [ ! -e "$(theme_dir)/small" ]; then  \
                 mkdir -p "$(theme_dir)/small";  \
                 chmod 755 "$(theme_dir)/small"; \
         fi
         if [ ! -e "$(helpdir)" ]; then          \
                 mkdir -p "$(helpdir)";          \
                 chmod 755 "$(helpdir)";         \
         fi
         if [ ! -e "$(helpdir)/C" ]; then        \
                 mkdir -p "$(helpdir)/C";        \
                 chmod 755 "$(helpdir)/C";       \
         fi
         if [ ! -e "$(helpdir)/C/figures" ]; then  \
                 mkdir -p "$(helpdir)/C/figures";  \
                 chmod 755 "$(helpdir)/C/figures"; \
         fi
 
 Gilles