diff --git a/external/mit/xorg/server/drivers/xf86-video-nv/Makefile b/external/mit/xorg/server/drivers/xf86-video-nv/Makefile index cf3f69844821..9807062136a6 100644 --- a/external/mit/xorg/server/drivers/xf86-video-nv/Makefile +++ b/external/mit/xorg/server/drivers/xf86-video-nv/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2008/08/03 07:32:04 rtr Exp $ +# $NetBSD: Makefile,v 1.3 2008/08/03 13:10:31 rtr Exp $ DRIVER= xf86-video-nv DRIVER_NAME= nv_drv @@ -11,4 +11,8 @@ SRCS+= g80_dac.c g80_display.c g80_dma.c g80_driver.c g80_exa.c SRCS+= g80_output.c g80_sor.c g80_xaa.c MAN= nv.4 +CPPFLAGS.nv_driver.c= -DPACKAGE_VERSION_MAJOR=${PACKAGE_MAJOR} +CPPFLAGS.nv_driver.c+= -DPACKAGE_VERSION_MINOR=${PACKAGE_MINOR} +CPPFLAGS.nv_driver.c+= -DPACKAGE_VERSION_PATCHLEVEL=${PACKAGE_PATCH} + .include "../Makefile.xf86-driver"