diff options
-rw-r--r-- | emulators/rtc/Makefile | 3 |
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/ |