Forgot to attach the example patch that goes with the last message...

The idea is probably evident, but here it is anyway.

Sorry for the extra noise.


-- Matthew R. Trower
>From 68cfdcbcba4a82f3095bda71efd506102515b81a Mon Sep 17 00:00:00 2001
From: "Matthew R. Trower" <d...@blackshard.net>
Date: Thu, 16 Jun 2016 20:22:43 -0500
Subject: [PATCH] Use openmotif installed in /opt/motif

---
 cde/config/cf/sun.cf | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/cde/config/cf/sun.cf b/cde/config/cf/sun.cf
index 956da3ff..e3ace8b0 100644
--- a/cde/config/cf/sun.cf
+++ b/cde/config/cf/sun.cf
@@ -183,7 +183,9 @@ XCOMM Gnu C++ CplusplusCompilerMajorVersion./**/CplusplusCompilerMinorVersion
 #endif
 #ifndef  CplusplusDependIncludes
 #if CplusplusCompilerMajorVersion > 3
-# define CplusplusDependIncludes	-I/opt/solarisstudio/prod/include/CC -I/opt/solarisstudio/prod/include/CC/Cstd -I/opt/solarisstudio/prod/include/CC/std
+# define CplusplusDependIncludes	-I/opt/motif/include -I/opt/solarisstudio/prod/include/CC -I/opt/solarisstudio/prod/include/CC/Cstd
+# define CplusplusExtraIncludes		-I/opt/motif/include -I/opt/motif/include/X11
+# define StandardIncludes		-I/opt/motif/include -I/opt/motif/include/X11
 #elif CplusplusCompilerMajorVersion > 2
 # define CplusplusDependIncludes	-I/opt/SUNWspro/SC3.0/include/CC
 #else
@@ -194,7 +196,7 @@ XCOMM Gnu C++ CplusplusCompilerMajorVersion./**/CplusplusCompilerMinorVersion
 # if HasSunC && (CCompilerMajorVersion < 3)
 #  define BootstrapCFlags	-DSVR4
 # else
-#  define BootstrapCFlags	/* none needed */
+#  define BootstrapCFlags	-I/opt/motif/include
 # endif
 # ifndef XawI18nDefines
 #  if OSMinorVersion < 4
@@ -373,7 +375,7 @@ man_keywords::								@@\
 #define DependDefines		-D__BUILTIN_VA_ARG_INCR
 #endif
 
-#define LdPreLib		-L/usr/X11/lib -L$(BUILDLIBDIR)
+#define LdPreLib		-R/opt/motif/lib -L/opt/motif/lib -L/usr/X11/lib -L$(BUILDLIBDIR)
 #define PamUnixDefines		-DPAM_NIS
 #define TtLargePICTable		YES
 #define DtSvcDefines		-DMULTIBYTE -DNO_REGCOMP
-- 
2.16.2

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel

Reply via email to