games/eboard: Unbreak JOYSTICK option

devel/linux-js has been gone for over 6 years.  Use devel/evdev-proto
instead.  It now provides linux/joystick.h.

PR:		241354
Submitted by:	rozhuk.im@gmail.com
This commit is contained in:
Tobias Kortkamp 2019-11-27 10:51:59 +00:00
parent 9d8aff16b7
commit a8ed451b9c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=518495

View file

@ -33,6 +33,7 @@ INSTALL_TARGET= install install-man
OPTIONS_DEFINE= JOYSTICK DOCS
JOYSTICK_DESC= Enable joystick support
JOYSTICK_BUILD_DEPENDS= ${LOCALBASE}/include/linux/joystick.h:devel/evdev-proto
DESKTOP_ENTRIES="eboard" \
"Play chess" \
@ -43,11 +44,6 @@ DESKTOP_ENTRIES="eboard" \
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MJOYSTICK}
BUILD_DEPENDS+= ${LOCALBASE}/include/linux/joystick.h:devel/linux-js
RUN_DEPENDS+= ${LOCALBASE}/include/linux/joystick.h:devel/linux-js
.endif
post-extract:
.for e in ${EXTRAS}
@cd ${WRKDIR} && ${GZIP_CMD} -dc \