aboutsummaryrefslogtreecommitdiff
path: root/devel/linux_devtools
diff options
context:
space:
mode:
authorMarcel Moolenaar <marcel@FreeBSD.org>1999-08-18 12:49:53 +0000
committerMarcel Moolenaar <marcel@FreeBSD.org>1999-08-18 12:49:53 +0000
commit64354154c290e7cd108da9cd7eaccdcc955e6643 (patch)
tree815ffb247a3cb857a47f07eb9a2012ae0a776676 /devel/linux_devtools
parent8d5bb6353e2f02c85848520074611d438aa0846d (diff)
downloadports-64354154c290e7cd108da9cd7eaccdcc955e6643.tar.gz
ports-64354154c290e7cd108da9cd7eaccdcc955e6643.zip
Notes
Diffstat (limited to 'devel/linux_devtools')
-rw-r--r--devel/linux_devtools/Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/devel/linux_devtools/Makefile b/devel/linux_devtools/Makefile
index 9e444d1bd6bb..bcd701be3a41 100644
--- a/devel/linux_devtools/Makefile
+++ b/devel/linux_devtools/Makefile
@@ -3,7 +3,7 @@
# Date created: Jul 9, 1999
# Whom: marcel@FreeBSD.org
#
-# $Id: Makefile,v 1.10 1999/07/21 11:16:09 marcel Exp $
+# $Id: Makefile,v 1.11 1999/08/11 18:46:08 marcel Exp $
#
DISTNAME= linux_devtools
@@ -76,13 +76,13 @@ NEEDLOADLINK= true
.endif
do-install:
- @if [ -z "`kldstat | ${GREP} linux.ko | ${AWK} '{print $1}'`" ]; then \
- ${ECHO} 'The Linux emulator kernel module is not loaded.\
- Loading Linux emulator kernel module...' | fmt; \
+ @if [ -z "`kldstat -v | ${GREP} -E 'linux(aout|elf)'`" ]; then \
+ ${ECHO} 'Linux mode is not enabled.\
+ Loading linux kernel module...' | fmt; \
linux || { \
- ${ECHO} 'The Linux emulator kernel module could not be\
- loaded. Please manually load the module and retry.\
- See "man linux" for details.' | fmt; \
+ ${ECHO} 'The linux kernel module could not be loaded.\
+ Please manually load the module and retry.\
+ See "man linux" for details.' | fmt; \
${FALSE}; \
};\
fi