summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2013-01-23 15:25:04 +0000
committertron <tron@pkgsrc.org>2013-01-23 15:25:04 +0000
commit89698533030c3b53ccbc0ad795f4ea0f18e8561f (patch)
tree018040119a002d41eaf51ba20fa06b9a3dca4a7a /pkgtools
parentd1139a08e60c202fe06d2d2729c65914775341de (diff)
downloadpkgsrc-89698533030c3b53ccbc0ad795f4ea0f18e8561f.tar.gz
Remove code which tries to use "Xquartz" to find out the X.org version
(presumably only under Mac OS X Mountain Lion). "Xquarty" simply doesn't print out anything if you run it with "-version". This avoids a lot of warning messages from "bmake" while building packages that use X11.
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/x11-links/xorg-version.mk9
1 files changed, 2 insertions, 7 deletions
diff --git a/pkgtools/x11-links/xorg-version.mk b/pkgtools/x11-links/xorg-version.mk
index 519217ea9dd..2540e45e19a 100644
--- a/pkgtools/x11-links/xorg-version.mk
+++ b/pkgtools/x11-links/xorg-version.mk
@@ -1,4 +1,4 @@
-# $NetBSD: xorg-version.mk,v 1.2 2011/09/09 09:08:07 abs Exp $
+# $NetBSD: xorg-version.mk,v 1.3 2013/01/23 15:25:04 tron Exp $
#
# This Makefile fragment is included by Makefiles that need to access
# the X11_TYPE and version number of an X.org distribution.
@@ -18,7 +18,6 @@ BUILTIN_FIND_FILES_VAR:= CF_XORG CF_XORG_VERSION CF_VERSION_OLD XQUARTZ
BUILTIN_FIND_FILES.CF_XORG= ${X11BASE}/lib/X11/config/xorg.cf
BUILTIN_FIND_FILES.CF_XORG_VERSION= ${X11BASE}/lib/X11/config/xorgversion.def
BUILTIN_FIND_FILES.CF_VERSION_OLD= ${X11BASE}/lib/X11/config/version.def
-BUILTIN_FIND_FILES.XQUARTZ= ${X11BASE}/bin/Xquartz
.include "../../mk/buildlink3/find-files.mk"
.if !defined(BUILTIN_XORG_VERSION_FILE)
@@ -32,11 +31,7 @@ BUILTIN_XORG_VERSION_FILE= ${CF_VERSION_OLD}
MAKEVARS+= BUILTIN_XORG_VERSION_FILE
.if !defined(BUILTIN_X11_VERSION.xorg)
-. if exists(${XQUARTZ})
-BUILTIN_X11_VERSION.xorg!= \
- ${XQUARTZ} -version 2>&1 | \
- ${AWK} '/X.org Release / { print $$3 }'
-. elif exists(${BUILTIN_XORG_VERSION_FILE})
+. if exists(${BUILTIN_XORG_VERSION_FILE})
BUILTIN_X11_VERSION.xorg!= \
${AWK} '/\#define[ ]*XORG_VERSION_MAJOR/ { M = $$3 } \
/\#define[ ]*XORG_VERSION_MINOR/ { m = "."$$3 } \