From 91320a7e1214f0b206400722975ccf64dec3853e Mon Sep 17 00:00:00 2001 From: wiz Date: Tue, 11 Jan 2000 00:20:54 +0000 Subject: check for COMPAT_NOMID, too --- archivers/rar/Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'archivers/rar') diff --git a/archivers/rar/Makefile b/archivers/rar/Makefile index 7fb2a9c9e52..496c6193acc 100644 --- a/archivers/rar/Makefile +++ b/archivers/rar/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.21 2000/01/10 08:00:31 fredb Exp $ +# $NetBSD: Makefile,v 1.22 2000/01/11 00:20:54 wiz Exp $ # FreeBSD Id: Makefile,v 1.7 1997/08/10 22:31:27 fenner Exp # @@ -25,13 +25,14 @@ KERNEL= /`sysctl -n machdep.booted_kernel` pre-extract: @if (${NM} ${KERNEL} | ${GREP} -q compat_12 && \ + ${NM} ${KERNEL} | ${GREP} -q exec_nomid && \ ${NM} ${KERNEL} | ${GREP} -q exec_aout); then true; \ else \ - ${ECHO} "****************************************************";\ + ${ECHO} "****************************************************************";\ ${ECHO} Make can not proceed! In order to extract \(and run\); \ ${ECHO} this package, you must have have booted from a kernel; \ - ${ECHO} with options COMPAT_12 \(and EXEC_AOUT, if ELF\).; \ - ${ECHO} "****************************************************";\ + ${ECHO} with options COMPAT_NOMID and COMPAT_12 \(and EXEC_AOUT, if ELF\).; \ + ${ECHO} "****************************************************************";\ false; \ fi @${CHMOD} a+x ${DISTDIR}/${DISTFILES} -- cgit v1.2.3