diff options
author | jperkin <jperkin@pkgsrc.org> | 2012-06-01 09:47:49 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2012-06-01 09:47:49 +0000 |
commit | fe1f3c56067a424c4db1a463fd689055ec6954d3 (patch) | |
tree | 15b14be31b33f84e9355bfed702af4423edfe12b /mk | |
parent | bb649ada20748149b0529f8e24c5874828e2f01f (diff) | |
download | pkgsrc-fe1f3c56067a424c4db1a463fd689055ec6954d3.tar.gz |
Default to X11_TYPE?=modular if OpenWin headers are not installed.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/platform/SunOS.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/mk/platform/SunOS.mk b/mk/platform/SunOS.mk index 3e93316a70f..08176cca1a5 100644 --- a/mk/platform/SunOS.mk +++ b/mk/platform/SunOS.mk @@ -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_stacksize?= ulimit -s `${SETENV} LC_MESSAGES=C ulimit -H -s` 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 |