From bdfb335d0c24cd6ab71e6881477c9eb8dab9f364 Mon Sep 17 00:00:00 2001 From: pvalchev Date: Thu, 12 Dec 2002 07:24:38 +0000 Subject: [PATCH] There is no longer need to specify the type of sparc to lsof, remove useless definitions which are no longer relevant to the source, and thus make this port non-interactive on sparc. --- sysutils/lsof/Makefile | 23 +---------------------- 1 file changed, 1 insertion(+), 22 deletions(-) diff --git a/sysutils/lsof/Makefile b/sysutils/lsof/Makefile index 3517c218a3e..7bd97f5893c 100644 --- a/sysutils/lsof/Makefile +++ b/sysutils/lsof/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.44 2002/10/28 19:53:44 naddy Exp $ +# $OpenBSD: Makefile,v 1.45 2002/12/12 07:24:38 pvalchev Exp $ COMMENT= "list information about open files" @@ -28,27 +28,6 @@ CONFIGURE_ENV= LSOF_CC="${CC}" SRCBALL_NAME= ${DISTNAME}_src WRKDIST= ${WRKDIR}/${DISTNAME}/${SRCBALL_NAME} -.if ${MACHINE_ARCH} == "sparc" -IS_INTERACTIVE= Yes -.if defined(SUN4) && ${SUN4:U} == YES -CDEF=-DSUN4 -.elif defined(SUN4C) && ${SUN4C:U} == YES -CDEF=-DSUN4C -.elif defined(SUN4M) && ${SUN4M:U} == YES -CDEF=-DSUN4M -.endif -MAKE_ENV= CDEF="${CDEF}" -.if !defined(CDEF) -pre-build: - @echo - @echo "*** when building for a sparc you must specify one of" - @echo "*** SUN4=Yes, SUN4C=Yes, or SUN4M=Yes" - @echo "*** on the make command line" - @echo - exit 1; -.endif -.endif - post-extract: @(cd ${WRKDIST}/..; \ EXPMD5=`/usr/bin/grep MD5 README.${DISTNAME} | \