diff options
Diffstat (limited to 'x11/Xrender')
-rw-r--r-- | x11/Xrender/builtin.mk | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/x11/Xrender/builtin.mk b/x11/Xrender/builtin.mk index a35576b5ef6..1e9d43b395a 100644 --- a/x11/Xrender/builtin.mk +++ b/x11/Xrender/builtin.mk @@ -1,4 +1,4 @@ -# $NetBSD: builtin.mk,v 1.5 2004/07/25 07:34:38 grant Exp $ +# $NetBSD: builtin.mk,v 1.6 2005/03/01 18:56:43 xtraeme Exp $ _X11_TMPL= ${X11BASE}/lib/X11/config/X11.tmpl @@ -29,8 +29,10 @@ _XRENDER_0.8= 4.2.99.* 4.3 4.3.[0-9] 4.3.[0-9].* 4.3.[1-8][0-9]* 4.3.9[0-8]* _XRENDER_0.8+= 4.3.99.* 4.[4-9]* 4.[1-9][0-9]* . if !defined(XF86_VERSION) XF86_VERSION= 3.3 -. if exists(${X11BASE}/lib/X11/config/xorg.cf) -_X11_CONFIG_VERSION_DEF= ${X11BASE}/lib/X11/config/xorg.cf +. if exists(${X11BASE}/lib/X11/config/xorgversion.def) +_X11_CONFIG_VERSION_DEF= ${X11BASE}/lib/X11/config/xorgversion.def +. elif exists(${X11BASE}/lib/X11/config/xorg.cf) +_X11_CONFIG_VERSION_DEF= ${X11BASE}/lib/X11/config/xorg.cf _XORG_MAJOR!= \ ${AWK} '/\#define[ ]*XORG_VERSION_MAJOR/ { print $$3 }' \ ${_X11_CONFIG_VERSION_DEF} |