summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2005-10-31 20:37:47 +0000
committertron <tron@pkgsrc.org>2005-10-31 20:37:47 +0000
commita8c28eaadba005ced8e1c48442bd1ce3010087e2 (patch)
tree814c9e8f4f658ff51b409779ba04675fd038ea43 /x11
parent441ecbba4f8a482a06d54d16746ca7a0eb09c1c5 (diff)
downloadpkgsrc-a8c28eaadba005ced8e1c48442bd1ce3010087e2.tar.gz
Fix build problem on systems without native X11 distribution e.g. using
Xorg from "pkgsrc". Problem noted by Joerg Sonnenberger in private e-mail.
Diffstat (limited to 'x11')
-rw-r--r--x11/XF86Setup/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/x11/XF86Setup/Makefile b/x11/XF86Setup/Makefile
index f5a0e5cef08..c63cb6fbbbf 100644
--- a/x11/XF86Setup/Makefile
+++ b/x11/XF86Setup/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.35 2005/04/11 21:48:03 tv Exp $
+# $NetBSD: Makefile,v 1.36 2005/10/31 20:37:47 tron Exp $
DISTNAME= XF86Setup-3.3.6
PKGREVISION= 2
@@ -40,5 +40,9 @@ pre-configure:
.include "../../mk/bsd.pkg.mk"
print-x11-release:
+.if exists(${X11BASE}/lib/X11/config/X11.tmpl)
@${GREP} '^#define SharedXextRev' ${X11BASE}/lib/X11/config/X11.tmpl \
| ${AWK} '{print($$3)}'
+.else
+ @${ECHO} unknown
+.endif