[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / wm / evilwm

File: [cvs.NetBSD.org] / pkgsrc / wm / evilwm / Makefile (download)

Revision 1.35, Sun Jul 2 12:45:05 2017 UTC (5 years, 7 months ago) by bsiegert
Branch: MAIN
CVS Tags: pkgsrc-2017Q2-base, pkgsrc-2017Q2
Changes since 1.34: +2 -1 lines

Add -D_XOPEN_SOURCE to MAKE_FLAGS to fix a segfault at runtime. Reported
by Oleksandr on pkgsrc-users months ago.

# $NetBSD: Makefile,v 1.35 2017/07/02 12:45:05 bsiegert Exp $
#

DISTNAME=	evilwm-1.1.1
CATEGORIES=	wm x11
MASTER_SITES=	http://www.6809.org.uk/evilwm/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://www.6809.org.uk/evilwm/
COMMENT=	Minimalist Window Manager for X

USE_TOOLS+=	gmake
MAKE_FLAGS+=	OPT_CPPFLAGS=-D_XOPEN_SOURCE

INSTALLATION_DIRS=	bin ${PKGMANDIR}/man1 share/doc/evilwm

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/evilwm ${DESTDIR}${PREFIX}/bin/evilwm
	${INSTALL_MAN} ${WRKSRC}/evilwm.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/evilwm.1
	for docfile in ChangeLog README TODO; \
	do \
	    ${INSTALL_DATA} ${WRKSRC}/$$docfile ${DESTDIR}${PREFIX}/share/doc/evilwm/; \
	done

.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/libXrandr/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"