respect ${CC} and nuke PATH= from the util/build script

This commit is contained in:
lebel 2002-07-17 22:40:00 +00:00
parent 400870d2bb
commit fca83ba273
2 changed files with 12 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.16 2002/03/21 20:35:43 espie Exp $
# $OpenBSD: Makefile,v 1.17 2002/07/17 22:40:00 lebel Exp $
COMMENT= "Simulation Program for Integrated Circuit Electronics"
@ -17,7 +17,7 @@ DISTFILES= sp3f4.kit.tar.Z sp3f4.patch.tar.Z
USE_X11= yes
WRKDIST= ${WRKDIR}
MAKE_ENV= MAKE_PROGRAM='${MAKE_PROGRAM}'
MAKE_ENV= MAKE_PROGRAM='${MAKE_PROGRAM}' CC="${CC}"
# Apply the patches that make this 3f5
#

View File

@ -0,0 +1,10 @@
$OpenBSD: patch-util_build,v 1.1 2002/07/17 22:40:00 lebel Exp $
--- util/build.orig Wed Jul 17 17:58:11 2002
+++ util/build Wed Jul 17 17:58:33 2002
@@ -1,6 +1,5 @@
#! /bin/sh -
PROG=`basename "$0"`
-PATH=/bin:/usr/bin:/usr/ucb
if test "$#" -eq 0; then
echo "Usage: ${PROG} [-dnD] <system> [<modifiers>]"
echo " ${PROG} -help"