summaryrefslogtreecommitdiff
path: root/archivers/rar/Makefile
diff options
context:
space:
mode:
authorwiz <wiz>2000-01-11 00:20:54 +0000
committerwiz <wiz>2000-01-11 00:20:54 +0000
commitba529b5a95a7bc7b60e4fc233c986973c6c48f40 (patch)
tree8935c864c336cef908271c7dc8454af7493079fe /archivers/rar/Makefile
parent4b4bc286e447944aed0feed64cb8c554b2129580 (diff)
downloadpkgsrc-ba529b5a95a7bc7b60e4fc233c986973c6c48f40.tar.gz
check for COMPAT_NOMID, too
Diffstat (limited to 'archivers/rar/Makefile')
-rw-r--r--archivers/rar/Makefile9
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}