Index: head/devel/critcl/Makefile =================================================================== --- head/devel/critcl/Makefile (revision 533329) +++ head/devel/critcl/Makefile (revision 533330) @@ -1,47 +1,46 @@ # Created by: gahr@FreeBSD.org # $FreeBSD$ PORTNAME= critcl PORTVERSION= 3.1.18.1 PORTREVISION= 1 CATEGORIES= devel MAINTAINER= tcltk@FreeBSD.org COMMENT= Compiled Runtime in Tcl LICENSE= TclTk LICENSE_NAME= Tcl/Tk License LICENSE_FILE= ${WRKSRC}/license.terms LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept RUN_DEPENDS= ${LOCALBASE}/lib/Trf/pkgIndex.tcl:devel/tcl-trf \ ${LOCALBASE}/lib/tcllib/cmdline/pkgIndex.tcl:devel/tcllib USES+= tcl USE_GITHUB= yes GH_ACCOUNT= andreas-kupries -MAKE_ENV= CRITCL_HOME=${WRKDIR} TEST_TARGET= test PLIST_SUB+= VER=${PORTVERSION:R} \ ARCH=${ARCH:C/arm.*/arm/:S/i386/ix86/:S/aarch64/arm/:S/mips64/mips/:S/powerpc64/powerpc/} PORTDOCS= * NO_BUILD= yes OPTIONS_DEFINE= DOCS post-patch: ${REINPLACE_CMD} -e 's|dtplite|${LOCALBASE}/bin/dtplite|g' ${WRKSRC}/build.tcl ${REINPLACE_CMD} -e 's|%%CC%%|${CC}|g' ${WRKSRC}/lib/critcl/Config do-install: - (cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${TCLSH} build.tcl install ${STAGEDIR}${PREFIX}/lib) + (cd ${WRKSRC} && ${TCLSH} build.tcl install ${STAGEDIR}${PREFIX}/lib) ${INSTALL_MAN} ${WRKSRC}/embedded/man/files/critcl_*.n \ ${STAGEDIR}${MANPREFIX}/man/mann/ do-test: (cd ${WRKSRC} && ${TCLSH} build.tcl test) .include Index: head/devel/critcl/files/patch-lib_app-critcl_critcl.tcl =================================================================== --- head/devel/critcl/files/patch-lib_app-critcl_critcl.tcl (revision 533329) +++ head/devel/critcl/files/patch-lib_app-critcl_critcl.tcl (nonexistent) @@ -1,12 +0,0 @@ ---- lib/app-critcl/critcl.tcl.orig 2020-02-19 04:07:06 UTC -+++ lib/app-critcl/critcl.tcl -@@ -174,7 +174,8 @@ proc ::critcl::app::PackageCache {} { - if {$v::cache ne {}} { - return $v::cache - } -- return [file join ~ .critcl pkg[pid].[clock seconds]] -+ set home [expr {[info exists ::env(CRITCL_HOME)] ? $::env(CRITCL_HOME) : {~}}] -+ return [file join $home .critcl pkg[pid].[clock seconds]] - } - - proc ::critcl::app::StopOnFailed {} { Property changes on: head/devel/critcl/files/patch-lib_app-critcl_critcl.tcl ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/devel/critcl/files/patch-build.tcl =================================================================== --- head/devel/critcl/files/patch-build.tcl (revision 533329) +++ head/devel/critcl/files/patch-build.tcl (revision 533330) @@ -1,10 +1,18 @@ ---- build.tcl.orig 2020-02-19 04:07:06 UTC -+++ build.tcl -@@ -507,6 +507,7 @@ proc _install {args} { +--- build.tcl.orig 2020-02-19 04:07:06.000000000 +0000 ++++ build.tcl 2020-04-29 09:52:24.419446000 +0000 +@@ -507,6 +507,7 @@ + lappend cmd exec >@ stdout 2>@ stderr + lappend cmd [info nameofexecutable] + lappend cmd $theapp ++ lappend cmd -cache [file join $selfdir cache] + if {$target ne {}} { + lappend cmd -target $target + } +@@ -541,6 +542,7 @@ lappend cmd exec >@ stdout 2>@ stderr lappend cmd [info nameofexecutable] lappend cmd $theapp + lappend cmd -cache [file join $selfdir cache] if {$target ne {}} { lappend cmd -target $target }