From 72173ae40a3c3cc1a23bba84b7ed08e57ae4f92e Mon Sep 17 00:00:00 2001 From: pav Date: Mon, 5 Jan 2009 19:44:02 +0000 Subject: - Remove conditional checks for FreeBSD 5.x and older --- emulators/rtc/Makefile | 9 --------- emulators/rtc/pkg-plist | 1 - 2 files changed, 10 deletions(-) (limited to 'emulators/rtc') 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 -.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 -- cgit