diff options
author | hans <hans@pkgsrc.org> | 2012-01-12 15:53:37 +0000 |
---|---|---|
committer | hans <hans@pkgsrc.org> | 2012-01-12 15:53:37 +0000 |
commit | 65809d7631052e78856209533cb1264ff98649a8 (patch) | |
tree | 6d3e11e0420fc0a685ed503829277f2bc9a9892c /mk | |
parent | 1c79551e145502fe968e497ea6ba001c921b1936 (diff) | |
download | pkgsrc-65809d7631052e78856209533cb1264ff98649a8.tar.gz |
Default to lesstif instead of dt if X11_TYPE != native.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/platform/SunOS.mk | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/mk/platform/SunOS.mk b/mk/platform/SunOS.mk index 1e189cf26cb..d5343687783 100644 --- a/mk/platform/SunOS.mk +++ b/mk/platform/SunOS.mk @@ -1,4 +1,4 @@ -# $NetBSD: SunOS.mk,v 1.40 2011/09/10 16:30:02 abs Exp $ +# $NetBSD: SunOS.mk,v 1.41 2012/01/12 15:53:37 hans Exp $ # # Variable definitions for the SunOS/Solaris operating system. @@ -16,7 +16,6 @@ DEF_UMASK?= 022 DEFAULT_SERIAL_DEVICE?= /dev/null EXPORT_SYMBOLS_LDFLAGS?= # Don't add symbols to the dynamic symbol table GROUPADD?= /usr/sbin/groupadd -MOTIF_TYPE_DEFAULT?= dt # default 2.0 compatible libs type NOLOGIN?= /usr/bin/false ROOT_CMD?= ${SU} - root -c ROOT_GROUP?= root @@ -28,6 +27,11 @@ ULIMIT_CMD_memorysize?= ulimit -v `${SETENV} LC_MESSAGES=C ulimit -H -v` USERADD?= /usr/sbin/useradd X11_TYPE?= native +.if ${X11_TYPE} == native +MOTIF_TYPE_DEFAULT?= dt # default 2.0 compatible libs type +.else +MOTIF_TYPE_DEFAULT?= lesstif +.endif # imake installs manpages in weird places .if !defined(X11_TYPE) || defined(X11_TYPE) && !empty(X11_TYPE:Mnative) |