freebsd-ports/x11/lightdm-gtk-greeter/Makefile
Piotr Kubaj dde2cbdeb8 x11/lightdm-gtk-greeter: fix build with GCC-based architectures
Add USE_CSTD=c99 to fix:
lightdm-gtk-greeter.c: In function 'start_authentication':
lightdm-gtk-greeter.c:2023: error: 'for' loop initial declaration used outside C99 mode

PR:		237626
Approved by:	woodsb02 (maintainer), mat (mentor)
Differential Revision:	https://reviews.freebsd.org/D20094
2019-04-30 14:26:31 +00:00

32 lines
733 B
Makefile

# Created by: Ben Woods <woodsb02@FreeBSD.org>
# $FreeBSD$
PORTNAME= lightdm-gtk-greeter
PORTVERSION= 2.0.6
CATEGORIES= x11
MASTER_SITES= https://launchpad.net/${PORTNAME}/${PORTVERSION:R}/${PORTVERSION}/+download/
MAINTAINER= woodsb02@FreeBSD.org
COMMENT= GTK+ greeter for LightDM
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= liblightdm-gobject-1.so:x11/lightdm
USES= gettext gmake gnome localbase pkgconfig xfce
USE_CSTD= c99
USE_GNOME= cairo gdkpixbuf2 gtk30 intltool
USE_XFCE= libexo
USE_XORG= x11
GNU_CONFIGURE= yes
INSTALLS_ICONS= yes
OPTIONS_DEFINE= DOCS
post-install:
(cd ${STAGEDIR}${PREFIX}/etc/lightdm && ${MV} lightdm-gtk-greeter.conf \
lightdm-gtk-greeter.conf.sample)
.include <bsd.port.mk>