Subject: gpatch?
To: None <tech-pkg@netbsd.org>
From: MLH <mlh@goathill.org>
List: tech-pkg
Date: 03/10/2004 12:44:59
Where is 'gpatch' supposed to come from (solaris8)? It's not in
pkgsrc or in bootstrap-pkgsrc.
=> Checksum OK for gcc-3.3.3.tar.bz2.
===> Extracting for gcc3-c-3.3.3
===> Required installed package pkg_install-info-[0-9]*: pkg_install-info-4.5nb2
found
===> Patching for gcc3-c-3.3.3
===> Applying pkgsrc patches for gcc3-c-3.3.3
/bin/sh: /usr/pkg/bin/gpatch: not found
Patch /usr/pkgsrc/lang/gcc3-c/patches/patch-ab failed
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/lang/gcc3-c
------------
mk/tools.mk:
.if ${_TOOLS_REPLACE.patch} == "YES"
_TOOLS_OVERRIDE.patch= YES
_TOOLS_PROGNAME.patch= ${PATCH}
.endif
.if (${_TOOLS_NEED_GNU.patch} == "YES") && empty(PKGPATH:Mdevel/patch)
BUILD_DEPENDS+= patch>=2.2:../../devel/patch
_TOOLS_OVERRIDE.patch= YES
_TOOLS_PROGNAME.patch= ${LOCALBASE}/bin/gpatch # "gpatch" always exists
. if exists(${_TOOLS_PROGNAME.patch})
PATCH:= ${_TOOLS_PROGNAME.patch}
. endif
.endif
.if !empty(PKGPATH:Mdevel/patch)
_TOOLS_OVERRIDE.patch= NO
MAKEFLAGS+= _IGNORE_USE_GNU_TOOLS=
.endif