diff options
author | jperkin <jperkin> | 2012-06-01 09:47:49 +0000 |
---|---|---|
committer | jperkin <jperkin> | 2012-06-01 09:47:49 +0000 |
commit | da19c79405ee4f1461f4db15d57a6b6b29445176 (patch) | |
tree | 15b14be31b33f84e9355bfed702af4423edfe12b /mk/platform | |
parent | edb8e02b74083ecc8222af605d0d7d363550d506 (diff) | |
download | pkgsrc-da19c79405ee4f1461f4db15d57a6b6b29445176.tar.gz |
Default to X11_TYPE?=modular if OpenWin headers are not installed.
Diffstat (limited to 'mk/platform')
-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 |