diff --git a/games/eboard/Makefile b/games/eboard/Makefile index f66d144c0c2d..a95cffb27d00 100644 --- a/games/eboard/Makefile +++ b/games/eboard/Makefile @@ -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 -.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 \