diff options
author | Juergen Lock <nox@FreeBSD.org> | 2007-01-22 20:56:02 +0000 |
---|---|---|
committer | Juergen Lock <nox@FreeBSD.org> | 2007-01-22 20:56:02 +0000 |
commit | da230ee7d10a13bef92c985b28155bf951480b4c (patch) | |
tree | 21b26b4056e5f5a5643d3c7c38d010326d5b716e /emulators/kqemu-kmod | |
parent | 990ea8bdd0dc06f137220b0e9ef5d0ef4c75b87f (diff) | |
download | ports-da230ee7d10a13bef92c985b28155bf951480b4c.tar.gz ports-da230ee7d10a13bef92c985b28155bf951480b4c.zip |
Notes
Diffstat (limited to 'emulators/kqemu-kmod')
-rw-r--r-- | emulators/kqemu-kmod/Makefile | 12 |
1 files changed, 5 insertions, 7 deletions
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> |