pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/motif x11/motif: Explain what's going on with the ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/78238f4789be
branches:  trunk
changeset: 377103:78238f4789be
user:      riastradh <riastradh%pkgsrc.org@localhost>
date:      Sat Apr 16 10:40:05 2022 +0000

description:
x11/motif: Explain what's going on with the libXt tool dependency.

diffstat:

 x11/motif/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 67ee0717958e -r 78238f4789be x11/motif/Makefile
--- a/x11/motif/Makefile        Sat Apr 16 10:39:50 2022 +0000
+++ b/x11/motif/Makefile        Sat Apr 16 10:40:05 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2022/04/16 10:39:50 riastradh Exp $
+# $NetBSD: Makefile,v 1.22 2022/04/16 10:40:05 riastradh Exp $
 
 DISTNAME=              motif-2.3.8
 PKGREVISION=           1
@@ -86,6 +86,12 @@
 CONFIGURE_ARGS.NetBSD+=        ac_cv_file__usr_X_include_X11_X_h=no
 CONFIGURE_ARGS.NetBSD+=        ac_cv_file__usr_X11R6_include_X11_X_h=no
 .  if ${X11_TYPE} != "native"
+# Motif's build involves building and running tools, wml*, that are
+# linked against libXt.  Thus we need libXt as a tool dependency, not
+# as a build or run dependency.  This occurs for both native and cross
+# builds -- but missing this dependency only causes problems for cross
+# builds, because the build dependency on libXmu effectively brings in
+# libXt for this purpose in native builds.
 TOOL_DEPENDS+=         libXt>=0:../../x11/libXt
 .  endif
 .endif



Home | Main Index | Thread Index | Old Index