kmos 3cfa98337e i3lock now uses c11
This requires ports-gcc on base-gcc arches

Fixes the build on sparc64
2022-08-10 06:15:22 +00:00

36 lines
687 B
Makefile

COMMENT = improved screen locker
GH_ACCOUNT = i3
GH_PROJECT = i3lock
GH_TAGNAME = 2.14.1
CATEGORIES = x11
HOMEPAGE = https://i3wm.org/i3lock/
MAINTAINER = Jasper Lievisse Adriaanse <jasper@openbsd.org>
# BSD
PERMIT_PACKAGE = Yes
# c11
COMPILER = base-clang ports-gcc
COMPILER_LANGS = c
MASTER_SITES = https://i3wm.org/i3lock/
EXTRACT_SUFX = .tar.xz
WANTLIB += c cairo ev m xcb xcb-image xcb-randr xcb-xrm
WANTLIB += xcb-util xcb-xinerama xcb-xkb xkbcommon xkbcommon-x11
MODULES = devel/meson
LIB_DEPENDS = devel/libev \
graphics/cairo \
x11/xkbcommon
CONFIGURE_ENV = LDFLAGS="-L${LOCALBASE}/lib" \
CPPFLAGS="-I${LOCALBASE}/include"
.include <bsd.port.mk>