freebsd-ports/x11/antimicro/Makefile
Jan Beich 63e76b312d x11/antimicro: unbreak with clang 4.0
src/mainwindow.cpp:367:19: error: ordered comparison between pointer and zero ('QMap<SDL_JoystickID, InputDevice *> *' (aka 'QMap<int, InputDevice *> *') and 'int')
    if (joysticks > 0)
        ~~~~~~~~~ ^ ~

PR:		216358
Reported by:	antoine (via exp-run)
2017-02-01 05:27:46 +00:00

27 lines
707 B
Makefile

# Created by: Anton Toernqvist <antont@inbox.lv>
# $FreeBSD$
PORTNAME= antimicro
PORTVERSION= 2.23
PORTREVISION= 1
CATEGORIES= x11
MAINTAINER= ports@FreeBSD.org
COMMENT= Program for mapping keyboard and mouse to a gamepad
LICENSE= GPLv3
USE_GITHUB= yes
GH_ACCOUNT= antimicro #Ryochan7
# Upstream assumes ${LOCALBASE}/lib is part of the default linker path. Pull
# request 268 fixes it for X11 libraries, but SDL2 is still using pkg-config
# output (without full paths).
LDFLAGS+= -L${LOCALBASE}/lib
USE_XORG= x11 xi xtst
USE_QT5= core gui linguisttools_build qmake_build buildtools_build widgets network
USE_SDL= sdl2
USES= cmake pkgconfig desktop-file-utils shared-mime-info
.include <bsd.port.mk>