1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Chase the recent moving of linux_ioctl.h.

PR:		ports/20818
Submitted by:	Sean-Paul Rees <sean@dreamfire.net>
This commit is contained in:
Akinori MUSHA 2000-08-24 14:51:20 +00:00
parent a407b4fe8c
commit f5e6c15f38
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=31925
2 changed files with 8 additions and 2 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= rtc
PORTVERSION= 2000.05.05
PORTVERSION= 2000.08.24
CATEGORIES= emulators linux
MASTER_SITES= # none
DISTFILES= # none
@ -44,6 +44,12 @@ do-extract:
${FILESDIR}/${STARTUP} > ${WRKDIR}/${STARTUP}
@cd ${FILESDIR} && ${CP} Makefile *.[ch] ${WRKSRC}/
post-patch:
.if !exists(/sys/compat/linux/linux_ioctl.h)
${PERL} -i -pe 's,compat(/linux/linux_ioctl\.h),i386$$1,' \
${WRKSRC}/rtc_linux.c
.endif
pre-install:
${MKDIR} ${KMODDIR}
${MKDIR} ${DEVDIR}

View File

@ -33,7 +33,7 @@
#include <i386/linux/linux.h>
#include <i386/linux/linux_proto.h>
#include <i386/linux/linux_ioctl.h>
#include <compat/linux/linux_ioctl.h>
#include "rtc.h"