summaryrefslogtreecommitdiff
path: root/x11/sessreg/Makefile
blob: e087e2434bafa36f637c83cc3b871eec80f1b8c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# $NetBSD: Makefile,v 1.17 2020/01/18 23:35:56 rillig Exp $

DISTNAME=	sessreg-1.1.2
CATEGORIES=	x11
MASTER_SITES=	${MASTER_SITE_XORG:=app/}
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	joerg@NetBSD.org
HOMEPAGE=	https://xorg.freedesktop.org/
COMMENT=	Manage utmp/wtmp entries for xdm

USE_TOOLS+=	pkg-config
GNU_CONFIGURE=	yes

BUILD_DEFS+=		VARBASE
CONFIGURE_ARGS+=	--localstatedir=${VARBASE:Q}

.include "../../mk/compiler.mk"
.if !empty(PKGSRC_COMPILER:Mgcc)
# required for filenames.sed on gcc5+
CPPFLAGS+=	-P
.endif

.include "../../x11/xorgproto/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"