diff options
author | tron <tron@pkgsrc.org> | 2005-10-31 20:34:48 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2005-10-31 20:34:48 +0000 |
commit | 36cb8987333a0d7d43af5d8f19d44bc84bf74f0c (patch) | |
tree | 9062637070c42e57d272c7ad7754aacbd0f49f5e /x11 | |
parent | ffd673883aff0a3608fffa39dcbb07056219b84e (diff) | |
download | pkgsrc-36cb8987333a0d7d43af5d8f19d44bc84bf74f0c.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/xservers/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/x11/xservers/Makefile b/x11/xservers/Makefile index 347ee1244a4..3ee8567da88 100644 --- a/x11/xservers/Makefile +++ b/x11/xservers/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.23 2005/08/08 18:15:14 tron Exp $ +# $NetBSD: Makefile,v 1.24 2005/10/31 20:34:48 tron Exp $ DISTNAME= xservers-3.3.6.4 CATEGORIES= x11 @@ -49,5 +49,9 @@ post-install: .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 |