svn commit: r518495 - head/games/eboard

Tobias Kortkamp tobik at FreeBSD.org
Wed Nov 27 10:52:00 UTC 2019


Author: tobik
Date: Wed Nov 27 10:51:59 2019
New Revision: 518495
URL: https://svnweb.freebsd.org/changeset/ports/518495

Log:
  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 at gmail.com

Modified:
  head/games/eboard/Makefile

Modified: head/games/eboard/Makefile
==============================================================================
--- head/games/eboard/Makefile	Wed Nov 27 10:41:53 2019	(r518494)
+++ head/games/eboard/Makefile	Wed Nov 27 10:51:59 2019	(r518495)
@@ -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" \
@@ -42,11 +43,6 @@ DESKTOP_ENTRIES="eboard" \
 		true
 
 .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}


More information about the svn-ports-head mailing list