Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Nov 2019 10:40:48 +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: r518493 - in head/devel/sdl12: . files
Message-ID:  <201911271040.xARAem64059075@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Wed Nov 27 10:40:48 2019
New Revision: 518493
URL: https://svnweb.freebsd.org/changeset/ports/518493

Log:
  devel/sdl12: Remove bundled evdev headers and use evdev-proto instead
  
  PR:		241353
  Submitted by:	rozhuk.im@gmail.com
  Approved by:	amdmi3 (maintainer)

Deleted:
  head/devel/sdl12/files/input-event-codes.h
  head/devel/sdl12/files/input.h
  head/devel/sdl12/files/joystick.h
  head/devel/sdl12/files/types.h
Modified:
  head/devel/sdl12/Makefile

Modified: head/devel/sdl12/Makefile
==============================================================================
--- head/devel/sdl12/Makefile	Wed Nov 27 10:33:34 2019	(r518492)
+++ head/devel/sdl12/Makefile	Wed Nov 27 10:40:48 2019	(r518493)
@@ -47,6 +47,7 @@ AALIB_LIB_DEPENDS=		libaa.so:graphics/aalib
 NAS_CONFIGURE_ENABLE=		nas
 NAS_LIB_DEPENDS=		libaudio.so:audio/nas
 LINJOY_VARS=			PKGMESSAGE+=pkg-message.linjoy
+LINJOY_BUILD_DEPENDS=		${LOCALBASE}/include/linux/joystick.h:devel/evdev-proto
 OPENGL_CONFIGURE_ENABLE=	video-opengl
 OPENGL_USES=			gl
 OPENGL_USE=			GL=glu
@@ -68,11 +69,6 @@ post-patch:
 		${WRKSRC}/configure
 
 post-patch-LINJOY-on:
-	@${MKDIR} ${WRKSRC}/include/linux/
-	@${CP} -f ${FILESDIR}/input.h ${WRKSRC}/include/linux/
-	@${CP} -f ${FILESDIR}/input-event-codes.h ${WRKSRC}/include/linux/
-	@${CP} -f ${FILESDIR}/joystick.h ${WRKSRC}/include/linux/
-	@${CP} -f ${FILESDIR}/types.h ${WRKSRC}/include/linux/
 	@${CP} -f ${WRKSRC}/src/joystick/linux/SDL_sysjoystick.c \
 	    ${WRKSRC}/src/joystick/bsd/
 	@${REINPLACE_CMD} -e 's|#ifdef SDL_JOYSTICK_LINUX|#if 1|g ; \



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