pkgsrc-Changes archive

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

CVS commit: pkgsrc/x11/motif



Module Name:    pkgsrc
Committed By:   riastradh
Date:           Sat Apr 16 10:40:05 UTC 2022

Modified Files:
        pkgsrc/x11/motif: Makefile

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


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 pkgsrc/x11/motif/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/x11/motif/Makefile
diff -u pkgsrc/x11/motif/Makefile:1.21 pkgsrc/x11/motif/Makefile:1.22
--- pkgsrc/x11/motif/Makefile:1.21      Sat Apr 16 10:39:50 2022
+++ pkgsrc/x11/motif/Makefile   Sat Apr 16 10:40:05 2022
@@ -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 @@ LDFLAGS_FOR_BUILD+=  ${COMPILER_RPATH_FLA
 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