aboutsummaryrefslogtreecommitdiffstats
path: root/emulators
diff options
context:
space:
mode:
authorsilby <silby@FreeBSD.org>2004-03-10 17:02:02 +0800
committersilby <silby@FreeBSD.org>2004-03-10 17:02:02 +0800
commit4b4e81d4b2712d4f114bc87bedb9574bee463f96 (patch)
tree7d719cc805385f9cf066ae2b8bef03eafa276263 /emulators
parent213601855ead238104a6b5dc68c50b4c67877209 (diff)
downloadfreebsd-ports-gnome-4b4e81d4b2712d4f114bc87bedb9574bee463f96.tar.gz
freebsd-ports-gnome-4b4e81d4b2712d4f114bc87bedb9574bee463f96.tar.zst
freebsd-ports-gnome-4b4e81d4b2712d4f114bc87bedb9574bee463f96.zip
*Actually* make rtc work on post-502104 -CURRENT.
Diffstat (limited to 'emulators')
-rw-r--r--emulators/rtc/Makefile2
-rw-r--r--emulators/rtc/files/rtc.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/emulators/rtc/Makefile b/emulators/rtc/Makefile
index c5dac6d48f9a..5b81ce703546 100644
--- a/emulators/rtc/Makefile
+++ b/emulators/rtc/Makefile
@@ -55,9 +55,7 @@ pre-install:
post-install:
${RM} -f ${DEVDIR}/rtc
-.if ${OSVERSION} < 502104
mknod ${DEVDIR}/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/
diff --git a/emulators/rtc/files/rtc.c b/emulators/rtc/files/rtc.c
index 1b4a315e15d8..e825602624e8 100644
--- a/emulators/rtc/files/rtc.c
+++ b/emulators/rtc/files/rtc.c
@@ -103,9 +103,7 @@ static struct cdevsw rtc_cdevsw = {
.d_poll = rtc_poll,
.d_read = rtc_read,
.d_name = DEVICE_NAME,
-#if __FreeBSD_version < 502104
.d_maj = CDEV_MAJOR,
-#endif
#else
/* open */ rtc_open,
/* close */ rtc_close,