From 2c74f4c039cbd71503ae9326309916bae2ff4ad9 Mon Sep 17 00:00:00 2001 From: rtr Date: Sun, 3 Aug 2008 14:46:01 +0000 Subject: [PATCH] define major,minor,patchlevel and xorg version defines for CPPFLAGS here instead of throughout individual drivers --- external/mit/xorg/server/drivers/Makefile.xf86-driver | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/external/mit/xorg/server/drivers/Makefile.xf86-driver b/external/mit/xorg/server/drivers/Makefile.xf86-driver index b0fb1dfac544..0740bf8b56f0 100644 --- a/external/mit/xorg/server/drivers/Makefile.xf86-driver +++ b/external/mit/xorg/server/drivers/Makefile.xf86-driver @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.xf86-driver,v 1.2 2008/08/03 06:02:29 rtr Exp $ +# $NetBSD: Makefile.xf86-driver,v 1.3 2008/08/03 14:46:01 rtr Exp $ .include .include @@ -33,6 +33,11 @@ CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/xorg \ -I${X11SRCDIR.xorg-server}/../include \ ${X11FLAGS.DIX} ${X11INCS.DIX} +CPPFLAGS+= -DPACKAGE_VERSION_MAJOR=${PACKAGE_MAJOR} +CPPFLAGS+= -DPACKAGE_VERSION_MINOR=${PACKAGE_MINOR} +CPPFLAGS+= -DPACKAGE_VERSION_PATCHLEVEL=${PACKAGE_PATCH} +CPPFLAGS+= -DXORG_VERSION_CURRENT=${XORG_VERSION_CURRENT} + .PATH: ${X11SRCDIR.${DRIVER}}/src .PATH: ${X11SRCDIR.${DRIVER}}/man