diff options
author | wiz <wiz@pkgsrc.org> | 2000-01-11 00:20:54 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2000-01-11 00:20:54 +0000 |
commit | 91320a7e1214f0b206400722975ccf64dec3853e (patch) | |
tree | 8935c864c336cef908271c7dc8454af7493079fe /archivers | |
parent | 09d80d99264ff304c4a576d5b6fdbfd78b140b38 (diff) | |
download | pkgsrc-91320a7e1214f0b206400722975ccf64dec3853e.tar.gz |
check for COMPAT_NOMID, too
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/rar/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
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} |