aboutsummaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorJuergen Lock <nox@FreeBSD.org>2007-01-22 20:56:02 +0000
committerJuergen Lock <nox@FreeBSD.org>2007-01-22 20:56:02 +0000
commitda230ee7d10a13bef92c985b28155bf951480b4c (patch)
tree21b26b4056e5f5a5643d3c7c38d010326d5b716e /emulators
parent990ea8bdd0dc06f137220b0e9ef5d0ef4c75b87f (diff)
downloadports-da230ee7d10a13bef92c985b28155bf951480b4c.tar.gz
ports-da230ee7d10a13bef92c985b28155bf951480b4c.zip
Notes
Diffstat (limited to 'emulators')
-rw-r--r--emulators/kqemu-kmod-devel/Makefile12
-rw-r--r--emulators/kqemu-kmod/Makefile12
2 files changed, 10 insertions, 14 deletions
diff --git a/emulators/kqemu-kmod-devel/Makefile b/emulators/kqemu-kmod-devel/Makefile
index 7583fdb068b3..375f9d4efb70 100644
--- a/emulators/kqemu-kmod-devel/Makefile
+++ b/emulators/kqemu-kmod-devel/Makefile
@@ -48,13 +48,11 @@ IGNORE= kqemu requires kernel source to be installed
post-install:
@${MKDIR} ${PREFIX}/include/kqemu
@${INSTALL_DATA} ${WRKSRC}/kqemu.h ${PREFIX}/include/kqemu
- if mount |${GREP} ^devfs >/dev/null ; then \
- : ; \
- else \
- if [ ! -e /dev/kqemu ]; then\
- mknod /dev/kqemu c 250 0 ; \
- fi ; \
- ${CHMOD} 666 /dev/kqemu ; \
+.if ${OSVERSION} < 500000
+ if [ ! -e /dev/kqemu ]; then\
+ mknod /dev/kqemu c 250 0 ; \
fi
+ ${CHMOD} 666 /dev/kqemu
+.endif
.include <bsd.port.post.mk>
diff --git a/emulators/kqemu-kmod/Makefile b/emulators/kqemu-kmod/Makefile
index 7583fdb068b3..375f9d4efb70 100644
--- a/emulators/kqemu-kmod/Makefile
+++ b/emulators/kqemu-kmod/Makefile
@@ -48,13 +48,11 @@ IGNORE= kqemu requires kernel source to be installed
post-install:
@${MKDIR} ${PREFIX}/include/kqemu
@${INSTALL_DATA} ${WRKSRC}/kqemu.h ${PREFIX}/include/kqemu
- if mount |${GREP} ^devfs >/dev/null ; then \
- : ; \
- else \
- if [ ! -e /dev/kqemu ]; then\
- mknod /dev/kqemu c 250 0 ; \
- fi ; \
- ${CHMOD} 666 /dev/kqemu ; \
+.if ${OSVERSION} < 500000
+ if [ ! -e /dev/kqemu ]; then\
+ mknod /dev/kqemu c 250 0 ; \
fi
+ ${CHMOD} 666 /dev/kqemu
+.endif
.include <bsd.port.post.mk>