Index: games/retroarch/Makefile =================================================================== --- games/retroarch/Makefile (revision 534973) +++ games/retroarch/Makefile (working copy) @@ -66,6 +66,7 @@ WAYLAND_CONFIGURE_ENABLE= wayland UDEV_LIB_DEPENDS= libudev.so:devel/libudev-devd \ libepoll-shim.so:devel/libepoll-shim +UDEV_BUILD_DEPENDS= ${LOCALBASE}/include/linux/kd.h:graphics/svgalib UDEV_CFLAGS= -I${LOCALBASE}/include/libepoll-shim UDEV_LDFLAGS= -L${LOCALBASE}/lib -lepoll-shim UDEV_CONFIGURE_ENABLE= udev @@ -95,6 +96,8 @@ ${WRKSRC}/memory/wii/mem2_manager.c @${REINPLACE_CMD} -e 's|||' \ ${WRKSRC}/camera/drivers/video4linux2.c + @${REINPLACE_CMD} -e 's/#if defined(__linux__) || defined(HAVE_WAYLAND)/#if 1/g' \ + ${WRKSRC}/input/input_keymaps.c post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/retroarch