tech-pkg archive

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

Re: pkg/44713, brokennes of GNU patch



On Fri, Dec 09, 2011 at 05:43:44PM +0200, Aleksey Cheusov wrote:
> On Fri, Dec 9, 2011 at 6:24 PM, Joerg Sonnenberger
> <joerg%britannica.bec.de@localhost> wrote:
> > On Fri, Dec 09, 2011 at 04:59:42PM +0200, Aleksey Cheusov wrote:
> >> On Fri, Dec 9, 2011 at 5:40 PM, Joerg Sonnenberger
> >> <joerg%britannica.bec.de@localhost> wrote:
> >> > On Fri, Dec 09, 2011 at 05:36:18PM +0300, Aleksey Cheusov wrote:
> >> >> In order to solve this problem I'd like to enable devel/nbpatch
> >> >> unconditionally during bootstrap on Linux and Solaris.
> >> >> Then close pkg/44713.
> >> >
> >> > Don't. Just unset the tool on Linux, Solaris and Mac OS X.
> >>
> >> If you mean unsetting lines in tools/tools.*.mk, it doesn't work.
> >
> > I'm quite sure it does. Try "bmake show-depends VARNAME=BUILD_DEPENDS"
> > e.g. in devel/gmake, with and without commenting out the
> > TOOLS_PLATFORM.patch in tools.${OPSYS}.mk.
> 
> pkgsrc-82:/srv/pkgsrc/pkgtools/nih# grep patch
> /srv/pkgsrc/mk/tools/tools.Linux.mk        #.if exists(/usr/bin/patch)
> #TOOLS_PLATFORM.patch?=         /usr/bin/patch
> pkgsrc-82:/srv/pkgsrc/pkgtools/nih# grep patch /usr/pkg/etc/mk.conf
>                    pkgsrc-82:/srv/pkgsrc/pkgtools/nih# bmake list-vars
> VARS='TOOLS_PLATFORM.patch BUILD_DEPENDS'
> TOOLS_PLATFORM.patch=/usr/pkg_distbb/bin/nbpatch
> BUILD_DEPENDS=mk-configure>=0.21.0:../../devel/mk-configure
> checkperms>=1.1:../../sysutils/checkperms
> pkgsrc-82:/srv/pkgsrc/pkgtools/nih# bmake list-vars
> VARS='TOOLS_PLATFORM.patch BUILD_DEPENDS' TOOLS_PLATFORM.patch=
> TOOLS_PLATFORM.patch=
> BUILD_DEPENDS=mk-configure>=0.21.0:../../devel/mk-configure
> nbpatch-[0-9]*:../../devel/nbpatch
> checkperms>=1.1:../../sysutils/checkperms
> pkgsrc-82:/srv/pkgsrc/pkgtools/nih#

list-vars doesn't even exist here...

Joerg


Home | Main Index | Thread Index | Old Index