pkgsrc/x11/sessreg/Makefile
bjs c4ba4d9545 Update to sessreg-1.0.3. Remove patch-aa, as the portability fix
is integrated.  Also, replace per-OS preprocessor directives
for #define NO_UTMP in sessreg.h with NO_COLON_ZERO_IN_UTMP.
Please see Makefile and patch-ab for clarification.  While here,
add CONFIGURE_ARGS+=--localstatedir=${VARBASE:Q} and BUILD_DEFS+=VARBASE,
as this package definitely uses it.

Upstream change:

 -  X.Org Bug #9887: sessreg should include sys/types.h on FreeBSD
    X.Org Bugzilla #9887: <https://bugs.freedesktop.org/show_bug.cgi?id=9887>
2007-11-23 12:23:39 +00:00

30 lines
673 B
Makefile

# $NetBSD: Makefile,v 1.2 2007/11/23 12:23:39 bjs Exp $
DISTNAME= sessreg-1.0.3
CATEGORIES= x11
MASTER_SITES= http://xorg.freedesktop.org/releases/individual/app/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= joerg@NetBSD.org
HOMEPAGE= http://xorg.freedesktop.org/
COMMENT= Manage utmp/wtmp entries for xdm
PKG_DESTDIR_SUPPORT= user-destdir
USE_TOOLS+= pkg-config
GNU_CONFIGURE= yes
USE_LANGUAGES= c
BUILD_DEFS+= VARBASE
CONFIGURE_ARGS+=--localstatedir=${VARBASE:Q}
###
### Please see patches/patch-ab for details on this.
###
#.if ${OPSYS} == "SomePlatform"
#CPPFLAGS+= -DNO_COLON_ZERO_IN_UTMP
#.endif
.include "../../x11/libX11/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"