Subject: Re: CVS commit: pkgsrc
To: None <pkgsrc-changes@NetBSD.org>
From: Jan Schaumann <jschauma@netmeister.org>
List: pkgsrc-changes
Date: 05/18/2004 23:30:07
--dDRMvlgZJXvWKvBx
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

grant beattie <grant@NetBSD.org> wrote:
> On Wed, May 19, 2004 at 01:27:04AM +0000, Jan Schaumann wrote:
>=20
> > Modified Files:
> > 	pkgsrc/devel/patch: Makefile
> > 	pkgsrc/mk: bsd.pkg.mk
> >=20
> > Log Message:
> > We have a variable _OPSYS_GPATCH_REQD, but it doesn't do anything.
> > Change that:  if it's set to YES, require devel/patch.  If building
> > devel/patch, set _OPSYS_GPATCH_REQD to NO, as otherwise we have a
> > circular dependency.
>=20
> this should probably be moved a little further down and be used to
> influence _NEED_PATCH in bsd.pkg.mk circa line 494. the tools.mk
> framework can take care of this dependency, which is simpler because
> gpatch is only used if the package has patches to be applied (packages
> which use ${PATCH} directly already need to USE_GNU_TOOLS+=3Dpatch anyway=
).

Indeed.  Thanks!

-Jan

--=20
Of course it runs NetBSD!		http://www.netbsd.org

--dDRMvlgZJXvWKvBx
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (NetBSD)

iD8DBQFAqtS+fFtkr68iakwRAmNRAJ9ixz09ZnXe0x8DVFm5o0dFwuvneACfbfcI
DFBXIFVEo3V+l/vDVj03Rv0=
=AoPI
-----END PGP SIGNATURE-----

--dDRMvlgZJXvWKvBx--