pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/XF86Setup Fix build problem on systems without nat...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/01fcae77ec94
branches:  trunk
changeset: 501953:01fcae77ec94
user:      tron <tron%pkgsrc.org@localhost>
date:      Mon Oct 31 20:37:47 2005 +0000

description:
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:

 x11/XF86Setup/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r a3f5e3e1635e -r 01fcae77ec94 x11/XF86Setup/Makefile
--- a/x11/XF86Setup/Makefile    Mon Oct 31 20:36:37 2005 +0000
+++ b/x11/XF86Setup/Makefile    Mon Oct 31 20:37:47 2005 +0000
@@ -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 @@
 .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



Home | Main Index | Thread Index | Old Index