Avoid using PRINTX11VERSION which doesn't give the expected result. Use

the somewhat hackish XORG_VERSION_CURRENT instead.
This commit is contained in:
cube 2008-10-18 22:44:26 +00:00
parent 563065df0b
commit 6880e9a3f6
2 changed files with 4 additions and 6 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.4 2008/10/14 23:37:19 cube Exp $
# $NetBSD: Makefile,v 1.5 2008/10/18 22:44:26 cube Exp $
.include "../Makefile.serverlib"
.include "../Makefile.servermod"
@ -24,13 +24,12 @@ CPPFLAGS.globals.c= -DCOMPILEDDEFAULTFONTPATH=\"${X11DEFAULTFONTPATH:ts,}\" \
# XXX make user variables
CPPFLAGS.main.c= -DVENDOR_STRING="\"The Xorg Group\"" \
-DVENDOR_RELEASE="${XVERSION}" \
-DVENDOR_RELEASE="${XORG_VERSION_CURRENT}" \
-DVENDOR_NAME="\"The Xorg Foundation\""
COPTS.dixutils.c= -Wno-error
.include <bsd.x11.mk>
XVERSION!= ${PRINTX11VERSION}
.include <bsd.lib.mk>
SUBDIR= xpstubs

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.2 2008/10/14 23:37:19 cube Exp $
# $NetBSD: Makefile,v 1.3 2008/10/18 22:44:26 cube Exp $
.include <bsd.own.mk>
@ -13,7 +13,7 @@ DPADD= ${LIBXKBFILE} ${LIBXEXT} ${LIBX11}
CPPFLAGS+= -DCARD_DATABASE_FILE='"${X11USRLIBDIR}/X11/Cards"' \
-DXKB_RULES_DIR=\"${X11USRLIBDIR}/X11/xkb/rules\" \
-DXVERSION="${XVERSION}" \
-DXVERSION="${XORG_VERSION_CURRENT}" \
-DWSCONS_SUPPORT -D__XKBDEFRULES__='"xorg"' \
-D__XCONFIGFILE__='"xorg.conf"' \
-D__XSERVERNAME__='"Xorg"' \
@ -27,5 +27,4 @@ CPPFLAGS+= -DPCVT_SUPPORT
.endif
.include <bsd.x11.mk>
XVERSION!= ${PRINTX11VERSION}
.include <bsd.prog.mk>