diff options
author | tron <tron> | 2005-10-31 20:34:48 +0000 |
---|---|---|
committer | tron <tron> | 2005-10-31 20:34:48 +0000 |
commit | dcd75c6c1bf11d1828f1bdd3551128a552eaf953 (patch) | |
tree | 9062637070c42e57d272c7ad7754aacbd0f49f5e /x11 | |
parent | d9beffbc87c6c27dd7bd5323f90ba45bf5ee2535 (diff) | |
download | pkgsrc-dcd75c6c1bf11d1828f1bdd3551128a552eaf953.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 |