diff options
author | netchild <netchild@FreeBSD.org> | 2007-01-06 15:02:19 +0000 |
---|---|---|
committer | netchild <netchild@FreeBSD.org> | 2007-01-06 15:02:19 +0000 |
commit | 935800f10fdec5153d53d479ca6fadcdfd4b01ed (patch) | |
tree | 6e2c14d929d25dc0d874a6f4c415524395cb95ce /emulators | |
parent | 50299dad609f280a1d16ce4a76d9370610af48f8 (diff) | |
download | FreeBSD-ports-935800f10fdec5153d53d479ca6fadcdfd4b01ed.zip FreeBSD-ports-935800f10fdec5153d53d479ca6fadcdfd4b01ed.tar.gz |
Only mknod where appropriate (!devfs case).
Diffstat (limited to 'emulators')
-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 c558160..4d6196b 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/ |