aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/rtc
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2009-01-06 03:44:02 +0800
committerpav <pav@FreeBSD.org>2009-01-06 03:44:02 +0800
commit72173ae40a3c3cc1a23bba84b7ed08e57ae4f92e (patch)
treed1102c67d6d770e809475dae366f152130cb1883 /emulators/rtc
parent5ae596207dc0bd85ca28a43d715d82bc6b358b81 (diff)
downloadfreebsd-ports-gnome-72173ae40a3c3cc1a23bba84b7ed08e57ae4f92e.tar.gz
freebsd-ports-gnome-72173ae40a3c3cc1a23bba84b7ed08e57ae4f92e.tar.zst
freebsd-ports-gnome-72173ae40a3c3cc1a23bba84b7ed08e57ae4f92e.zip
- Remove conditional checks for FreeBSD 5.x and older
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