aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/rtc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/rtc/Makefile')
-rw-r--r--emulators/rtc/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/emulators/rtc/Makefile b/emulators/rtc/Makefile
index 2eb2ba6f0005..fddb23c83e76 100644
--- a/emulators/rtc/Makefile
+++ b/emulators/rtc/Makefile
@@ -7,7 +7,7 @@
PORTNAME= rtc
PORTVERSION= 2004.02.24.1
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= emulators linux
MASTER_SITES= # none
DISTFILES= # none
@@ -51,11 +51,10 @@ do-extract:
pre-install:
${MKDIR} ${KMODDIR}
- ${MKDIR} ${DEVDIR}
post-install:
${RM} -f ${DEVDIR}/rtc
- mknod ${DEVDIR}/rtc c ${CDEV_MAJOR} 0
+ -mknod /dev/rtc c ${CDEV_MAJOR} 0
${INSTALL_DATA} ${WRKSRC}/rtc.h ${PREFIX}/include/
${MKDIR} ${PREFIX}/share/examples/rtc
${INSTALL_DATA} ${WRKSRC}/test.c ${PREFIX}/share/examples/rtc/