[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CONFIGURE_ENV, MAKE_ENV, SCRIPTS_ENV mess
- To: ports_(_at_)_openbsd_(_dot_)_org
- Subject: CONFIGURE_ENV, MAKE_ENV, SCRIPTS_ENV mess
- From: Marc Espie <Marc_(_dot_)_Espie_(_at_)_liafa_(_dot_)_jussieu_(_dot_)_fr>
- Date: Sat, 23 Sep 2000 14:48:35 +0200
- Mail-followup-to: ports_(_at_)_openbsd_(_dot_)_org
I am considering cleaning up the mess that's become
CONFIGURE_ENV, MAKE_ENV, SCRIPTS_ENV currently.
- always use CONFIGURE_ENV for all configure styles, including imake,
or an external configure script.
- put everything that's used by configure into CONFIGURE_ENV.
(see the simple/gnu configure style for an example of what I'm talking about).
- be cleaner about gnu configure: only add all the ac_* env settings to
CONFIGURE_ENV if we are dealing with a gnu configure script.
- don't use SCRIPTS_ENV directly, keep it around as a handy repository for
the porter (if he has scripts that needs to know about PATCHDIR, WRKDIR
Right now, what we have is almost impossible to document without making
explicit references to the existing implementation of bsd.port.mk, which is
a bad sign. We also have somewhat redundant but not identical settings of
MAKE_ENV, CONFIGURE_ENV, SCRIPTS_ENV, whereas it would be better to have
a much more regular set of env variables for each setting (this still causes
surprises: oh, I thought that CONFIGURE_ENV defined foo, whereas foo is
only in SCRIPTS_ENV).
|anime, sf, juggling, unicycle, acrobatics, comics...
|AmigaOS, OpenBSD, C++, perl, Icon, PostScript...
| `real programmers don't die, they just get out of beta'