Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Nov 2019 10:51:59 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r518495 - head/games/eboard
Message-ID:  <201911271051.xARApxos069107@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201911271051.xARApxos069107>