aboutsummaryrefslogtreecommitdiff
path: root/emulators/rtc
diff options
context:
space:
mode:
authorAlexander Leidinger <netchild@FreeBSD.org>2007-01-06 15:02:19 +0000
committerAlexander Leidinger <netchild@FreeBSD.org>2007-01-06 15:02:19 +0000
commit5d083f0bb1869e623b875ae8cd9374ead7c28932 (patch)
tree3f17af73c2f20fc0cbde3aa4b0b6c466a1f41214 /emulators/rtc
parent41ea2987a44d0ad7effbe798d8489695249f9435 (diff)
downloadports-5d083f0bb1869e623b875ae8cd9374ead7c28932.tar.gz
ports-5d083f0bb1869e623b875ae8cd9374ead7c28932.zip
Notes
Diffstat (limited to 'emulators/rtc')
-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/