freebsd-ports/x11/antimicro/Makefile
Raphael Kubo da Costa d293a4b8f6 Finish fixing broken ports after r404856 and r404694.
* multimedia/obs-studio:
  Import some upstream commits that pass all required include directories to
  the compiler and reference libsysinfo.so with a full path instead of passing
  -lsysinfo and relying on ${LOCALBASE}/lib being in the linker search path.

* textproc/sigil:
  Pass LDFLAGS+=${LOCALBASE}/lib for now to work around the fact that
  upstream's build system references libhunspell-1.3.so and libpcre16.so
  without full paths (instead of finding them with the proper CMake commands it
  relies on pkg-config's output).

* x11/antimicro:
  Also pass LDFLAGS+=${LOCALBASE}/lib for now to work around the fact that
  several X11 and SDL2 libraries are referenced without full paths. I sent a
  pull request upstream to fix the X11 references, but SDL2 is still detected
  through pkg-config.

MFH:	2015Q4
2015-12-30 17:45:32 +00:00

26 lines
663 B
Makefile

# Created by: Anton Törnqvist <antont@inbox.lv>
# $FreeBSD$
PORTNAME= antimicro
PORTVERSION= 2.13
CATEGORIES= x11
MAINTAINER= antont@inbox.lv
COMMENT= Program for mapping keyboard and mouse to a gamepad
LICENSE= GPLv3
USE_GITHUB= yes
GH_ACCOUNT= 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+= ${LOCALBASE}/lib
USE_XORG= x11 xtst
USE_QT5= linguisttools_build qmake_build buildtools_build widgets network
USE_SDL= sdl2
USES= cmake pkgconfig desktop-file-utils shared-mime-info
.include <bsd.port.mk>