summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/linux_devtools-6/Makefile14
-rw-r--r--devel/linux_devtools-7/Makefile14
-rw-r--r--devel/linux_devtools/Makefile14
-rw-r--r--emulators/linux_base-6/Makefile14
-rw-r--r--emulators/linux_base-62/Makefile14
-rw-r--r--emulators/linux_base-8/Makefile14
-rw-r--r--emulators/linux_base-rh-9/Makefile14
-rw-r--r--emulators/linux_base-suse-9.1/Makefile14
-rw-r--r--emulators/linux_base-suse-9.2/Makefile14
-rw-r--r--emulators/linux_base-suse-9.3/Makefile14
-rw-r--r--emulators/linux_base/Makefile14
11 files changed, 77 insertions, 77 deletions
diff --git a/devel/linux_devtools-6/Makefile b/devel/linux_devtools-6/Makefile
index 9e444d1bd6bb..bcd701be3a41 100644
--- a/devel/linux_devtools-6/Makefile
+++ b/devel/linux_devtools-6/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
diff --git a/devel/linux_devtools-7/Makefile b/devel/linux_devtools-7/Makefile
index 9e444d1bd6bb..bcd701be3a41 100644
--- a/devel/linux_devtools-7/Makefile
+++ b/devel/linux_devtools-7/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
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
diff --git a/emulators/linux_base-6/Makefile b/emulators/linux_base-6/Makefile
index 9ad65d92c066..06538e971939 100644
--- a/emulators/linux_base-6/Makefile
+++ b/emulators/linux_base-6/Makefile
@@ -3,7 +3,7 @@
# Date created: Jul 7, 1999
# Whom: marcel@FreeBSD.org
#
-# $Id: Makefile,v 1.27 1999/08/06 15:13:17 billf Exp $
+# $Id: Makefile,v 1.28 1999/08/08 11:40:53 marcel Exp $
#
DISTNAME= linux_base
@@ -105,13 +105,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
diff --git a/emulators/linux_base-62/Makefile b/emulators/linux_base-62/Makefile
index 9ad65d92c066..06538e971939 100644
--- a/emulators/linux_base-62/Makefile
+++ b/emulators/linux_base-62/Makefile
@@ -3,7 +3,7 @@
# Date created: Jul 7, 1999
# Whom: marcel@FreeBSD.org
#
-# $Id: Makefile,v 1.27 1999/08/06 15:13:17 billf Exp $
+# $Id: Makefile,v 1.28 1999/08/08 11:40:53 marcel Exp $
#
DISTNAME= linux_base
@@ -105,13 +105,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
diff --git a/emulators/linux_base-8/Makefile b/emulators/linux_base-8/Makefile
index 9ad65d92c066..06538e971939 100644
--- a/emulators/linux_base-8/Makefile
+++ b/emulators/linux_base-8/Makefile
@@ -3,7 +3,7 @@
# Date created: Jul 7, 1999
# Whom: marcel@FreeBSD.org
#
-# $Id: Makefile,v 1.27 1999/08/06 15:13:17 billf Exp $
+# $Id: Makefile,v 1.28 1999/08/08 11:40:53 marcel Exp $
#
DISTNAME= linux_base
@@ -105,13 +105,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
diff --git a/emulators/linux_base-rh-9/Makefile b/emulators/linux_base-rh-9/Makefile
index 9ad65d92c066..06538e971939 100644
--- a/emulators/linux_base-rh-9/Makefile
+++ b/emulators/linux_base-rh-9/Makefile
@@ -3,7 +3,7 @@
# Date created: Jul 7, 1999
# Whom: marcel@FreeBSD.org
#
-# $Id: Makefile,v 1.27 1999/08/06 15:13:17 billf Exp $
+# $Id: Makefile,v 1.28 1999/08/08 11:40:53 marcel Exp $
#
DISTNAME= linux_base
@@ -105,13 +105,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
diff --git a/emulators/linux_base-suse-9.1/Makefile b/emulators/linux_base-suse-9.1/Makefile
index 9ad65d92c066..06538e971939 100644
--- a/emulators/linux_base-suse-9.1/Makefile
+++ b/emulators/linux_base-suse-9.1/Makefile
@@ -3,7 +3,7 @@
# Date created: Jul 7, 1999
# Whom: marcel@FreeBSD.org
#
-# $Id: Makefile,v 1.27 1999/08/06 15:13:17 billf Exp $
+# $Id: Makefile,v 1.28 1999/08/08 11:40:53 marcel Exp $
#
DISTNAME= linux_base
@@ -105,13 +105,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
diff --git a/emulators/linux_base-suse-9.2/Makefile b/emulators/linux_base-suse-9.2/Makefile
index 9ad65d92c066..06538e971939 100644
--- a/emulators/linux_base-suse-9.2/Makefile
+++ b/emulators/linux_base-suse-9.2/Makefile
@@ -3,7 +3,7 @@
# Date created: Jul 7, 1999
# Whom: marcel@FreeBSD.org
#
-# $Id: Makefile,v 1.27 1999/08/06 15:13:17 billf Exp $
+# $Id: Makefile,v 1.28 1999/08/08 11:40:53 marcel Exp $
#
DISTNAME= linux_base
@@ -105,13 +105,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
diff --git a/emulators/linux_base-suse-9.3/Makefile b/emulators/linux_base-suse-9.3/Makefile
index 9ad65d92c066..06538e971939 100644
--- a/emulators/linux_base-suse-9.3/Makefile
+++ b/emulators/linux_base-suse-9.3/Makefile
@@ -3,7 +3,7 @@
# Date created: Jul 7, 1999
# Whom: marcel@FreeBSD.org
#
-# $Id: Makefile,v 1.27 1999/08/06 15:13:17 billf Exp $
+# $Id: Makefile,v 1.28 1999/08/08 11:40:53 marcel Exp $
#
DISTNAME= linux_base
@@ -105,13 +105,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
diff --git a/emulators/linux_base/Makefile b/emulators/linux_base/Makefile
index 9ad65d92c066..06538e971939 100644
--- a/emulators/linux_base/Makefile
+++ b/emulators/linux_base/Makefile
@@ -3,7 +3,7 @@
# Date created: Jul 7, 1999
# Whom: marcel@FreeBSD.org
#
-# $Id: Makefile,v 1.27 1999/08/06 15:13:17 billf Exp $
+# $Id: Makefile,v 1.28 1999/08/08 11:40:53 marcel Exp $
#
DISTNAME= linux_base
@@ -105,13 +105,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