pkgsrc-Bugs archive

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

Re: pkg/35396: IMAKE_MAN_DIR solaris



Proposal for Solaris:

set IMAKE_MAN_DIR=${MANPATH} or remove it.
when USE_IMAKE == yes
  set USE_TOOLS+= gmake
  MAKE_ARGS+=     MAKE=${GMAKE}
  
and all man go to /usr/pkg/man. why not?

Gilles

> X-Virus-Scanned: amavisd-new at enst.fr
> From: Gilles Dauphin <Gilles.Dauphin%enst.fr@localhost>
> To: pkg-manager%NetBSD.org@localhost, gnats-admin%NetBSD.org@localhost, 
> pkgsrc-bugs%NetBSD.org@localhost, 
"Gilles Dauphin" <dauphin%enst.fr@localhost>
> Subject: Re: pkg/35396: IMAKE_MAN_DIR solaris
> X-Gnats-Was-Stupid: no
> Cc: 
> 
> The following reply was made to PR pkg/35396; it has been noted by GNATS.
> 
> From: Gilles Dauphin <Gilles.Dauphin%enst.fr@localhost>
> To: pkg-manager%NetBSD.org@localhost, gnats-admin%NetBSD.org@localhost,
>       gnats-bugs%NetBSD.org@localhost
> Cc: 
> Subject: Re: pkg/35396: IMAKE_MAN_DIR solaris
> Date: Tue, 16 Jan 2007 12:31:46 +0100 (CET)
> 
>  Joerg,
>  
>  On Solaris the problem is here:
>  
>  [dauphin@bi 218] cat Makefile 
>            MANPATH = $(PREFIX)/share/man
>  all:
>          @echo First make MANPATH=$(MANPATH)
>          @$(MAKE) inside
>  
>  inside:
>          @echo Second make MANPATH=$(MANPATH)
>  [dauphin@bi 219] gmake MANPATH=/somewhere
>  First make MANPATH=/somewhere
>  gmake[1]: Entering directory `/home/dauphin'
>  Second make MANPATH=/somewhere
>  gmake[1]: Leaving directory `/home/dauphin'
>  [dauphin@bi 220] /usr/ccs/bin/make MANPATH=/somewhere
>  First make MANPATH=/somewhere
>  Second make MANPATH=/share/man
>  [dauphin@bi 221] 
>  
>  Gilles
>  
>  > X-Virus-Scanned: amavisd-new at enst.fr
>  > From: Joerg Sonnenberger <joerg%britannica.bec.de@localhost>
>  > To: pkg-manager%NetBSD.org@localhost, gnats-admin%NetBSD.org@localhost, 
> pkgsrc-bugs%NetBSD.org@localhost, 
>  "Gilles Dauphin" <dauphin%enst.fr@localhost>
>  > Subject: Re: pkg/35396: IMAKE_MAN_DIR solaris
>  > X-Gnats-Was-Stupid: no
>  > Cc: 
>  > 
>  > The following reply was made to PR pkg/35396; it has been noted by GNATS.
>  > 
>  > From: Joerg Sonnenberger <joerg%britannica.bec.de@localhost>
>  > To: gnats-bugs%NetBSD.org@localhost
>  > Cc: 
>  > Subject: Re: pkg/35396: IMAKE_MAN_DIR solaris
>  > Date: Sat, 13 Jan 2007 00:05:57 +0100
>  > 
>  >  On Fri, Jan 12, 2007 at 01:30:02PM +0000, Gilles Dauphin wrote:
>  >  >  One of patch is maybe to set MANPATH=IMAKE_MAN_SOURCE_PATH when using 
>  imake.
>  >  >  An other is to set IMAKE_MAN_SOURCE_PATH=${MANPATH} in SunOS.mk and use
>  >  >  gmake instead of solaris's make when USE_IMAKE is True.
>  >  >  A good test is time/xcal.
>  >  
>  >  Both is wrong. The variable needs to match the imake settings -- whether
>  >  or not imake turns in gmake is completely separate. MANPATH must not be
>  >  changed by the infrastructure. The canonical test case is x11/xsnow.
>  >  
>  >  Joerg
>  >  
>  




Home | Main Index | Thread Index | Old Index