pkgsrc-Changes archive

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

CVS commit: pkgsrc/x11/labltk



Module Name:    pkgsrc
Committed By:   dholland
Date:           Fri Nov 29 23:27:32 UTC 2024

Modified Files:
        pkgsrc/x11/labltk: Makefile

Log Message:
x11/labltk: tweaks

- improve previous fix to pass pkgsrc's ${RANLIB} instead of just
"ranlib" (there are one or two old platforms where ranlib exists but
you must not run it because it corrupts the library)

- test the current MAKE_JOBS_SAFE state and document how it fails
(which it does, with 48 jobs)


To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 pkgsrc/x11/labltk/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/labltk/Makefile
diff -u pkgsrc/x11/labltk/Makefile:1.45 pkgsrc/x11/labltk/Makefile:1.46
--- pkgsrc/x11/labltk/Makefile:1.45     Fri Nov 29 01:23:11 2024
+++ pkgsrc/x11/labltk/Makefile  Fri Nov 29 23:27:32 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.45 2024/11/29 01:23:11 gdt Exp $
+# $NetBSD: Makefile,v 1.46 2024/11/29 23:27:32 dholland Exp $
 
 DISTNAME=      labltk-8.06.12
 PKGREVISION=   3
@@ -14,16 +14,19 @@ COMMENT=    Tk bindings for ocaml
 LICENSE=       gnu-lgpl-v2.1
 
 USE_TOOLS+=    gmake
-MAKE_JOBS_SAFE=        no
 MAKE_ENV+=     BYTECC='cc  -fPIC'
 
+# With 48 jobs, fails in browser/ with "No rule to make target
+# 'dummy.cmi', needed by 'shell.cmo'."
+MAKE_JOBS_SAFE=        no
+
 HAS_CONFIGURE=         yes
 CONFIGURE_ARGS+=       -use-findlib
 CONFIGURE_ARGS+=       -tkdefs "-I${BUILDLINK_PREFIX.tk}/include  -I${BUILDLINK_PREFIX.tcl}/include"
 CONFIGURE_ARGS+=       -tklibs "`${SH} -c '. ${TCLCONFIG_SH}; . ${TKCONFIG_SH}; ${ECHO} $$TK_LD_FLAGS $$TCL_LD_FLAGS $$TK_LIBS $$TCL_LIBS'`"
 
 # Arguably ranlib should be a TOOL, and labltk should search for it.
-INSTALL_ENV+=          RANLIB=ranlib
+INSTALL_ENV+=          RANLIB=${RANLIB:Q}
 
 BUILD_TARGET=          all
 INSTALL_TARGET=                install



Home | Main Index | Thread Index | Old Index