summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-09-13 19:14:52 +0000
committerjlam <jlam@pkgsrc.org>2001-09-13 19:14:52 +0000
commite598e5dd1af47a57562b8ae7c6808e2bfb7299d5 (patch)
treeecf1621d4bb9af9aa70c53d8539e85f06f2e22e2 /mk
parent17887a8629c678c9ee042f8cac5b7b9989c3f6fa (diff)
downloadpkgsrc-e598e5dd1af47a57562b8ae7c6808e2bfb7299d5.tar.gz
Switch default Motif type to OpenMotif, as it's a "real" Motif with full
functionality. Default remains DT-Motif on Solaris. This doesn't affect users who already have LessTif installed, as motif.buildlink.mk will use an installed Motif package in preference to the default. I have compiled and run every package in pkgsrc (as of today) that uses either USE_MOTIF or motif.buildlink.mk. They all function as well or better with OpenMotif as the installed Motif package as compared with LessTif. There was only one small API difference I detected between LessTif and OpenMotif in <Xm/Text.h>, where OpenMotif's Text.h includes <stdio.h> while LessTif's does not, but the only package that this affected (graphics/tcm) was fixed.
Diffstat (limited to 'mk')
-rw-r--r--mk/motif.buildlink.mk11
1 files changed, 5 insertions, 6 deletions
diff --git a/mk/motif.buildlink.mk b/mk/motif.buildlink.mk
index e93eef6f6d6..36a5b0f49c7 100644
--- a/mk/motif.buildlink.mk
+++ b/mk/motif.buildlink.mk
@@ -1,4 +1,4 @@
-# $NetBSD: motif.buildlink.mk,v 1.3 2001/09/13 08:37:28 jlam Exp $
+# $NetBSD: motif.buildlink.mk,v 1.4 2001/09/13 19:14:52 jlam Exp $
#
# This Makefile fragment is included by packages that use Motif.
#
@@ -13,15 +13,14 @@ MOTIF_BUILDLINK_MK= # defined
.include "../../mk/bsd.prefs.mk"
-# Default to using LessTif for Motif-compatible libraries as it's the most
-# well-tested with pkgsrc. We should thoroughly test using OpenMotif and
-# switch the default to OpenMotif as it's a "real" Motif with full
-# functionality. On Solaris, default to DT-Motif (in /usr/dt).
+# Default to using OpenMotif for Motif-compatible libraries as it's a
+# "real" Motif with full functionality. On Solaris, default to DT-Motif
+# (in /usr/dt).
#
.if ${OPSYS} == "SunOS"
MOTIF_TYPE_DEFAULT?= dt
.else
-MOTIF_TYPE_DEFAULT?= lesstif
+MOTIF_TYPE_DEFAULT?= openmotif
.endif
# If /usr/dt is a valid Motif installation, then use it. Otherwise, check