Page MenuHomeFreeBSD

D43498.diff
No OneTemporary

D43498.diff

Index: devel/evdev-proto/Makefile
===================================================================
--- devel/evdev-proto/Makefile
+++ devel/evdev-proto/Makefile
@@ -2,7 +2,8 @@
PORTVERSION= 5.8
CATEGORIES= devel
MASTER_SITES= https://github.com/torvalds/linux/raw/v${PORTVERSION}/include/uapi/linux/
-DISTFILES= input.h input-event-codes.h joystick.h uinput.h
+DISTFILES= joystick.h
+EVDEV_HDRS= input.h input-event-codes.h uinput.h
DIST_SUBDIR= ${PORTNAME}-${PORTVERSION}
MAINTAINER= x11@FreeBSD.org
@@ -21,6 +22,10 @@
.for i in ${DISTFILES}
@${CP} ${DISTDIR}/${DIST_SUBDIR}/${i} ${WRKSRC}
.endfor
+.for i in ${EVDEV_HDRS}
+ @echo "#include <dev/evdev/${i}>" > ${WRKSRC}/${i}
+.endfor
+
post-patch:
@${REINPLACE_CMD} -i '' -E -e \
@@ -49,7 +54,7 @@
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/include/linux/
-.for i in ${DISTFILES}
+.for i in ${DISTFILES} ${EVDEV_HDRS}
${INSTALL_DATA} ${WRKSRC}/${i} \
${STAGEDIR}${PREFIX}/include/linux/
.endfor

File Metadata

Mime Type
text/plain
Expires
Tue, Sep 8, 8:15 AM (7 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38491897
Default Alt Text
D43498.diff (977 B)

Event Timeline