aboutsummaryrefslogtreecommitdiffstats
path: root/emulators
diff options
context:
space:
mode:
authornetchild <netchild@FreeBSD.org>2007-01-06 23:02:19 +0800
committernetchild <netchild@FreeBSD.org>2007-01-06 23:02:19 +0800
commit935800f10fdec5153d53d479ca6fadcdfd4b01ed (patch)
tree6e2c14d929d25dc0d874a6f4c415524395cb95ce /emulators
parent50299dad609f280a1d16ce4a76d9370610af48f8 (diff)
downloadfreebsd-ports-gnome-935800f10fdec5153d53d479ca6fadcdfd4b01ed.tar.gz
freebsd-ports-gnome-935800f10fdec5153d53d479ca6fadcdfd4b01ed.tar.zst
freebsd-ports-gnome-935800f10fdec5153d53d479ca6fadcdfd4b01ed.zip
Only mknod where appropriate (!devfs case).
Diffstat (limited to 'emulators')
-rw-r--r--emulators/rtc/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/emulators/rtc/Makefile b/emulators/rtc/Makefile
index c55816096f29..4d6196b21059 100644
--- a/emulators/rtc/Makefile
+++ b/emulators/rtc/Makefile
@@ -58,6 +58,9 @@ pre-install:
${MKDIR} ${KMODDIR}
post-install:
+.if ${OSVERSION} < 500104
+ -mknod /dev/rtc c ${CDEV_MAJOR} 0
+.endif
${INSTALL_DATA} ${WRKSRC}/rtc.h ${PREFIX}/include/
${MKDIR} ${PREFIX}/share/examples/rtc
${INSTALL_DATA} ${WRKSRC}/test.c ${PREFIX}/share/examples/rtc/