From aa52cd921c82a10ec33065084fe0edb5cf8bebbc Mon Sep 17 00:00:00 2001 From: asami Date: Wed, 3 Feb 1999 11:12:01 +0000 Subject: Adjust port Makefiles to new EXTRACT_* variable defaults. See log of bsd.port.mk rev. 1.304 for details on the change. The fix here is one of the following. (1) Define USE_BZIP2 instead of BUILD_DEPENDS on bzip2 and redefining EXTRACT_* commands. (2) Change ${EXTRACT_CMD} to ${TAR} when the command is obviously calling the "tar" command (i.e., arguments like "-xzf" are spelled out). (3) If ${EXTRACT_CMD} is called directly with ${EXTRACT_BEFORE_ARGS}, add ${EXTRACT_AFTER_ARGS} to the command line as well. (4) If any of EXTRACT_CMD, EXTRACT_BEFORE_ARGS or EXTRACT_AFTER_ARGS is set, define the other two too. --- lang/gcc31/Makefile | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'lang/gcc31') diff --git a/lang/gcc31/Makefile b/lang/gcc31/Makefile index 55bc9f05da91..6d3d2c199ab1 100644 --- a/lang/gcc31/Makefile +++ b/lang/gcc31/Makefile @@ -4,7 +4,7 @@ # Date created: 9 Jan 1998 # Whom: John Polstra # -# $Id: Makefile,v 1.41 1998/12/05 04:00:40 obrien Exp $ +# $Id: Makefile,v 1.42 1998/12/26 20:10:02 obrien Exp $ # DISTNAME= egcs-1.1.1 @@ -14,17 +14,13 @@ MASTER_SITES= ftp://go.cygnus.com/pub/ftp.cygnus.com/egcs/releases/egcs-1.1.1/ \ ftp://egcs.cygnus.com/pub/egcs/releases/egcs-1.1.1/ \ ftp://ftp.fu-berlin.de/unix/languages/egcs/releases/egcs-1.1.1/ \ ftp://cambridge.cygnus.com/pub/egcs/releases/egcs-1.1.1/ -EXTRACT_SUFX= .tar.bz2 MAINTAINER= obrien@FreeBSD.org -BUILD_DEPENDS= bzip2:${PORTSDIR}/archivers/bzip2 +USE_BZIP2= yes .include -EXTRACT_CMD= bzip2 -EXTRACT_BEFORE_ARGS= -dc -EXTRACT_AFTER_ARGS= | /usr/bin/tar -xf - EGCS_REV= egcs-2.91.60 LIBSTDCPP_REV= 2.9.0 -- cgit