From 5114e2637e2224ea9b0e0ea4b315bc38370ccf04 Mon Sep 17 00:00:00 2001 From: Satoshi 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. --- math/calc/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'math/calc') diff --git a/math/calc/Makefile b/math/calc/Makefile index 5d21eb261932..fbf7daff99e5 100644 --- a/math/calc/Makefile +++ b/math/calc/Makefile @@ -3,7 +3,7 @@ # Date created: 3 October 1994 # Whom: jmz # -# $Id: Makefile,v 1.10 1997/08/25 00:09:35 asami Exp $ +# $Id: Makefile,v 1.11 1998/06/04 17:13:49 smace Exp $ # DISTNAME= calc-2.9.3t6 @@ -14,7 +14,9 @@ EXTRACT_SUFX= .tar MAINTAINER= jmz@FreeBSD.org +EXTRACT_CMD= ${TAR} EXTRACT_BEFORE_ARGS= -xf +EXTRACT_AFTER_ARGS= # empty MAN1= calc.1 IGNOREFILES= ${DISTFILES} # "on-the-fly" creation of tarball -- cgit v1.2.3