File fix_hardcoded_x11rgb_path.patch of Package motif
diff -Nur motif-2.3.8/configure.ac new/configure.ac
--- motif-2.3.8/configure.ac 2022-04-24 02:44:54.935728737 +0200
+++ new/configure.ac 2022-04-24 03:03:56.819728602 +0200
@@ -1,5 +1,5 @@
dnl Process this file with autoconf to produce a configure script.
-AC_INIT
+AC_INIT([motif], [2.3.8])
AC_CONFIG_SRCDIR([lib/Xm/Form.c])
AC_PREREQ(2.52)
AC_CONFIG_AUX_DIR(.)
@@ -22,7 +22,7 @@
AC_SUBST(AGE)
dnl This is really dumb but it seems to be bug
-AM_INIT_AUTOMAKE(motif,2.3.8,no-define)
+AM_INIT_AUTOMAKE([no-define foreign])
LIBTOOL_VERSION=$CURRENT:$REVISION:$AGE