pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/platform Default to X11_TYPE?=modular if OpenWin he...
details: https://anonhg.NetBSD.org/pkgsrc/rev/963cf3f53a03
branches: trunk
changeset: 604509:963cf3f53a03
user: jperkin <jperkin%pkgsrc.org@localhost>
date: Fri Jun 01 09:47:49 2012 +0000
description:
Default to X11_TYPE?=modular if OpenWin headers are not installed.
diffstat:
mk/platform/SunOS.mk | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r 5ad98eab61a9 -r 963cf3f53a03 mk/platform/SunOS.mk
--- a/mk/platform/SunOS.mk Fri Jun 01 06:12:47 2012 +0000
+++ b/mk/platform/SunOS.mk Fri Jun 01 09:47:49 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: SunOS.mk,v 1.43 2012/03/19 12:34:18 joerg Exp $
+# $NetBSD: SunOS.mk,v 1.44 2012/06/01 09:47:49 jperkin Exp $
#
# Variable definitions for the SunOS/Solaris operating system.
@@ -26,7 +26,11 @@
ULIMIT_CMD_memorysize?= ulimit -v `${SETENV} LC_MESSAGES=C ulimit -H -v`
USERADD?= /usr/sbin/useradd
+.if exists(/usr/openwin/include/X11/X.h)
X11_TYPE?= native
+.else
+X11_TYPE?= modular
+.endif
.if ${X11_TYPE} == native
MOTIF_TYPE_DEFAULT?= dt # default 2.0 compatible libs type
.else
Home |
Main Index |
Thread Index |
Old Index