From owner-svn-ports-all@freebsd.org  Wed Nov 27 10:52:00 2019
Return-Path: <owner-svn-ports-all@freebsd.org>
Delivered-To: svn-ports-all@mailman.nyi.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
 by mailman.nyi.freebsd.org (Postfix) with ESMTP id 36F6C1A8747;
 Wed, 27 Nov 2019 10:52:00 +0000 (UTC)
 (envelope-from tobik@FreeBSD.org)
Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org
 [IPv6:2610:1c1:1:606c::19:3])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 server-signature RSA-PSS (4096 bits)
 client-signature RSA-PSS (4096 bits) client-digest SHA256)
 (Client CN "mxrelay.nyi.freebsd.org",
 Issuer "Let's Encrypt Authority X3" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 47NHdr0bd4z3xKD;
 Wed, 27 Nov 2019 10:52:00 +0000 (UTC)
 (envelope-from tobik@FreeBSD.org)
Received: from repo.freebsd.org (repo.freebsd.org
 [IPv6:2610:1c1:1:6068::e6a:0])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id EBB9BC62A;
 Wed, 27 Nov 2019 10:51:59 +0000 (UTC)
 (envelope-from tobik@FreeBSD.org)
Received: from repo.freebsd.org ([127.0.1.37])
 by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id xARApxHL069108;
 Wed, 27 Nov 2019 10:51:59 GMT (envelope-from tobik@FreeBSD.org)
Received: (from tobik@localhost)
 by repo.freebsd.org (8.15.2/8.15.2/Submit) id xARApxos069107;
 Wed, 27 Nov 2019 10:51:59 GMT (envelope-from tobik@FreeBSD.org)
Message-Id: <201911271051.xARApxos069107@repo.freebsd.org>
X-Authentication-Warning: repo.freebsd.org: tobik set sender to
 tobik@FreeBSD.org using -f
From: Tobias Kortkamp <tobik@FreeBSD.org>
Date: Wed, 27 Nov 2019 10:51:59 +0000 (UTC)
To: ports-committers@freebsd.org, svn-ports-all@freebsd.org,
 svn-ports-head@freebsd.org
Subject: svn commit: r518495 - head/games/eboard
X-SVN-Group: ports-head
X-SVN-Commit-Author: tobik
X-SVN-Commit-Paths: head/games/eboard
X-SVN-Commit-Revision: 518495
X-SVN-Commit-Repository: ports
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-ports-all@freebsd.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: SVN commit messages for the ports tree <svn-ports-all.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/svn-ports-all>,
 <mailto:svn-ports-all-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-ports-all/>
List-Post: <mailto:svn-ports-all@freebsd.org>
List-Help: <mailto:svn-ports-all-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/svn-ports-all>,
 <mailto:svn-ports-all-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 27 Nov 2019 10:52:00 -0000

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}