Subject: FETCH_DEPENDS replacement?
To: None <tech-pkg@netbsd.org>
From: Jim Wise <jwise@draga.com>
List: tech-pkg
Date: 09/08/2000 15:27:04
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

OK, so I'm updating x11/swing to set LICENSE=sun-swing-license, and then
to navigate sun's web forms to go get swing if that value is in
ACCEPTABLE_LICENSES.

I have this working fine.  However, as an HTTP POST is necessary to make
this work, the `urlget' package is needed to download swing.

IIRC, once upon a time, this could have been specified by putting

	FETCH_DEPENDS+=	urlget:../../www/urlget

in the package Makefile.  This is no longer possible.

Neither BUILD_DEPENDS nor DEPENDS addresses this situation, as each only
gets invoked after the distfile has been fetched.  In addition, neither
really expresses the situation, as a user who already has the swing
distfile should not be forced to install urlget.

Before I look into kludging something into the pre-fetch: target, I'm
curious:  is there a way to specify this situation?  If not, should
FETCH_DEPENDS be resurrected, possibly with a package dependency?

As a side note, btw, for servlet-heads out there:  I will be adding the
same glue to the www/jsdk20 package as soon as this works...

- -- 
				Jim Wise
				jwise@draga.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.2 (NetBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE5uT2P2JhG4/qi8rQRAkhiAJ9gy3NzsISGYU6wMzIfaOKup4uFwQCeLjih
h7DmVC542zdgffUvShgw7Qo=
=ucKx
-----END PGP SIGNATURE-----