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:   gdt
Date:           Fri Nov 29 01:23:11 UTC 2024

Modified Files:
        pkgsrc/x11/labltk: Makefile

Log Message:
x11/labltk: Kludge the provision of RANLIB

I don't understand how this use to build; upstream configure/make
doesn't look for ranlib and then uses ${RANLIB}.  Just pass
RANLIB=ranlib and hope things are as ok as they look from the build
log.


To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 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.44 pkgsrc/x11/labltk/Makefile:1.45
--- pkgsrc/x11/labltk/Makefile:1.44     Thu Nov 28 15:38:21 2024
+++ pkgsrc/x11/labltk/Makefile  Fri Nov 29 01:23:11 2024
@@ -1,11 +1,11 @@
-# $NetBSD: Makefile,v 1.44 2024/11/28 15:38:21 gdt Exp $
+# $NetBSD: Makefile,v 1.45 2024/11/29 01:23:11 gdt Exp $
 
 DISTNAME=      labltk-8.06.12
-PKGREVISION=   2
+PKGREVISION=   3
 CATEGORIES=    x11
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=garrigue/}
 
-# 8.06.13 and 8.06.14 fail to build
+# 8.06.13 and 8.06.14 fail to build, but they are for newer ocaml:
 #   https://github.com/garrigue/labltk/issues/29
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -22,6 +22,9 @@ 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
+
 BUILD_TARGET=          all
 INSTALL_TARGET=                install
 .if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "powerpc") || \



Home | Main Index | Thread Index | Old Index