Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Sep 2017 10:55:21 +0000 (UTC)
From:      Pietro Cerutti <gahr@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r450730 - head/devel/critcl/files
Message-ID:  <201709271055.v8RAtLJY095800@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gahr
Date: Wed Sep 27 10:55:21 2017
New Revision: 450730
URL: https://svnweb.freebsd.org/changeset/ports/450730

Log:
  devel/critcl: avoid putting build cache files outside of WRKSRC

Modified:
  head/devel/critcl/files/patch-build.tcl

Modified: head/devel/critcl/files/patch-build.tcl
==============================================================================
--- head/devel/critcl/files/patch-build.tcl	Wed Sep 27 09:58:34 2017	(r450729)
+++ head/devel/critcl/files/patch-build.tcl	Wed Sep 27 10:55:21 2017	(r450730)
@@ -1,6 +1,6 @@
---- build.tcl.orig	2017-08-25 03:29:15 UTC
-+++ build.tcl
-@@ -323,7 +323,7 @@ proc _install {args} {
+--- build.tcl.orig	2017-08-25 03:29:15.000000000 +0000
++++ build.tcl	2017-09-27 10:53:21.223065000 +0000
+@@ -323,7 +323,7 @@
  	set dsta [file dirname [file dirname [file normalize [info nameofexecutable]/___]]]
      } else {
  	set dstl [lindex $args 0]
@@ -9,7 +9,7 @@
      }
  
      set selfdir [file dirname $me]
-@@ -369,7 +369,7 @@ proc _install {args} {
+@@ -369,7 +369,7 @@
  	set theapp [critapp $dsta]
  
  	set    c [open $theapp w]
@@ -18,3 +18,11 @@
  	close $c
  	+x $theapp
  
+@@ -395,6 +395,7 @@
+ 	    lappend cmd [info nameofexecutable]
+ 	}
+ 	lappend cmd $theapp
++	lappend cmd -cache [file join $selfdir cache]
+ 	if {$target ne {}} {
+ 	    lappend cmd -target $target
+ 	}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201709271055.v8RAtLJY095800>