aboutsummaryrefslogtreecommitdiff
path: root/emulators/rtc
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2009-01-05 19:44:02 +0000
committerPav Lucistnik <pav@FreeBSD.org>2009-01-05 19:44:02 +0000
commitd095d4a96566a3ab095ab2e30430ce93a154f1a7 (patch)
treeca5cd97e4ad40da4b6e4a6c197453610fd6c69b1 /emulators/rtc
parentc0a7a1f97264b914fa27603f8433b87b38b15f14 (diff)
- Remove conditional checks for FreeBSD 5.x and older
Notes
Notes: svn path=/head/; revision=225293
Diffstat (limited to 'emulators/rtc')
-rw-r--r--emulators/rtc/Makefile9
-rw-r--r--emulators/rtc/pkg-plist1
2 files changed, 0 insertions, 10 deletions
diff --git a/emulators/rtc/Makefile b/emulators/rtc/Makefile
index 2cce0c14ad19..01ef770668e1 100644
--- a/emulators/rtc/Makefile
+++ b/emulators/rtc/Makefile
@@ -34,12 +34,6 @@ SRC_BASE?= /usr/src
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 500104
-PLIST_SUB+= MAKEDEV=""
-.else
-PLIST_SUB+= MAKEDEV="@comment "
-.endif
-
.if !exists(${SRC_BASE}/sys/Makefile)
IGNORE= needs kernel source files
.endif
@@ -54,9 +48,6 @@ 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/
diff --git a/emulators/rtc/pkg-plist b/emulators/rtc/pkg-plist
index fc31ceb62337..976c0201bf48 100644
--- a/emulators/rtc/pkg-plist
+++ b/emulators/rtc/pkg-plist
@@ -2,7 +2,6 @@ etc/rc.d/rtc.sh
include/rtc.h
modules/rtc.ko
%%EXAMPLESDIR%%/test.c
-%%MAKEDEV%%@exec mknod /dev/rtc c %%CDEV_MAJOR%% 0
@exec rm -f %%DEVDIR%%/rtc
@exec /usr/sbin/kldxref %D/modules
@unexec /usr/sbin/kldxref %D/modules