GARNAME = gdm
GARVERSION = 2.21.1
CATEGORIES = desktop
DISTFILES = $(GARNAME)-$(GARVERSION).tar.bz2
PATCHFILES = 492022-configure-x11.diff
# NOTE: autoconf 2.61 LIBDEPS and pre-configure target added for this
#       upstream fix, should be removed with the patch.

LIBDEPS = desktop/librsvg desktop/gnome-doc-utils bootstrap/autoconf-2.61

DESCRIPTION = gdm
define BLURB
 #FIXME: blurb goes here
endef

CONFIGURE_SCRIPTS = $(WORKSRC)/configure
BUILD_SCRIPTS = $(WORKSRC)/Makefile
INSTALL_SCRIPTS = $(WORKSRC)/Makefile

CONFIGURE_ARGS = $(DIRPATHS)
BUILD_ARGS = -j1

include ../category.mk

pre-configure:
	@echo "   Regenerate initial makefiles, etc..."
	@cd $(WORKSRC); \
	 rm -f aclocal.m4; aclocal; automake --add-missing; \
	 rm -rf configure autom4te*.cache/; autoconf
	@$(MAKECOOKIE)
