summaryrefslogtreecommitdiffstats
path: root/lang/python
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1999-02-03 11:06:19 +0000
committerasami <asami@FreeBSD.org>1999-02-03 11:06:19 +0000
commitdd1603cad7e60d10dd91a2f1f918e24ed859ed24 (patch)
tree6849ab6b1c7ec274444060d7cc2b425039910003 /lang/python
parentde20e33e6f4a1d07b3868f4f7af545a3e3bfe27c (diff)
downloadFreeBSD-ports-dd1603cad7e60d10dd91a2f1f918e24ed859ed24.zip
FreeBSD-ports-dd1603cad7e60d10dd91a2f1f918e24ed859ed24.tar.gz
(1) ${MASTER_SITE_SUBDIR} is now a list, and ${MASTER_SITE_*} macros
will be expanded multiple times if ${MASTER_SITE_SUBDIR} contains more than one item. Reviewed by: Bill "Mr. distfiles" Fenner (2) Replace stale site with a good one in MASTER_SITE_GNU. Submitted by: Bill "Mr. mastersites" Fenner (3) Add new variable USE_BZIP2, which, like USE_GMAKE, will change the default decompression method of distfiles from gzip to bzip2. Since tar doesn't have a simple flag to turn on bzip2 decompression, I changed the way EXTRACT_CMD and EXTRACT_{BEFORE,AFTER}_ARGS work. These are the new defaults: EXTRACT_CMD: gzip or bzip2 EXTRACT_BEFORE_ARGS: -dc EXTRACT_AFTER_ARGS: | tar -xf - (They used to be "tar", "-xzf", and "", respectively, before.) Also, EXTRACT_SUFX will default to ".tar.bz2" if USE_BZIP2 is set. There are a few things porters should be careful about: (a) If you are using bsd.port.{pre,post}.mk, USE_BZIP2 should be set before the .include of pre.mk. (b) Do not use ${EXTRACT_SUFX} as an alias of tar. There is a new variable ${TAR} for that purpose. (c) If you are calling ${EXTRACT_CMD} directly, you need both ${EXTRACT_BEFORE_ARGS} and ${EXTRACT_AFTER_ARGS} in the command line. (The latter was previously empty so could be omitted -- that is no longer the case.) (d) If you need to set any of EXTRACT_CMD, EXTRACT_BEFORE_ARGS or EXTRACT_AFTER_ARGS, define all three, even if they are the default. The values of these variables may very well change in the future (but the calling syntax probably will not) so it will save the port from breakage when that happens. Tested by: recompiling the entire ports tree
Diffstat (limited to 'lang/python')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud