From owner-svn-ports-all@freebsd.org Fri Sep 22 07:24:44 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2F735E1BDA9; Fri, 22 Sep 2017 07:24:44 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F10B081AB5; Fri, 22 Sep 2017 07:24:43 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v8M7OhLE000963; Fri, 22 Sep 2017 07:24:43 GMT (envelope-from gahr@FreeBSD.org) Received: (from gahr@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v8M7Oh7O000961; Fri, 22 Sep 2017 07:24:43 GMT (envelope-from gahr@FreeBSD.org) Message-Id: <201709220724.v8M7Oh7O000961@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: gahr set sender to gahr@FreeBSD.org using -f From: Pietro Cerutti Date: Fri, 22 Sep 2017 07:24:43 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r450318 - head/devel/critcl/files X-SVN-Group: ports-head X-SVN-Commit-Author: gahr X-SVN-Commit-Paths: head/devel/critcl/files X-SVN-Commit-Revision: 450318 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Sep 2017 07:24:44 -0000 Author: gahr Date: Fri Sep 22 07:24:42 2017 New Revision: 450318 URL: https://svnweb.freebsd.org/changeset/ports/450318 Log: devel/critcl: add missing patch file Added: head/devel/critcl/files/patch-build.tcl (contents, props changed) Added: head/devel/critcl/files/patch-build.tcl ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/critcl/files/patch-build.tcl Fri Sep 22 07:24:42 2017 (r450318) @@ -0,0 +1,20 @@ +--- build.tcl.orig 2017-08-25 03:29:15 UTC ++++ build.tcl +@@ -323,7 +323,7 @@ proc _install {args} { + set dsta [file dirname [file dirname [file normalize [info nameofexecutable]/___]]] + } else { + set dstl [lindex $args 0] +- set dsta [file dirname [findlib $dstl]]/bin ++ set dsta $dstl/../bin + } + + set selfdir [file dirname $me] +@@ -369,7 +369,7 @@ proc _install {args} { + set theapp [critapp $dsta] + + set c [open $theapp w] +- puts $c "#!/bin/sh\n# -*- tcl -*- \\\nexec [file dirname [file normalize [info nameofexecutable]/___]] \"\$0\" \$\{1+\"\$@\"\}\npackage require critcl::app\ncritcl::app::main \$argv" ++ puts $c "#!/bin/sh\n# -*- tcl -*- \\\nexec [file dirname [file normalize [info nameofexecutable]/___]] \"\$0\" \$\{1+\"\$@\"\}\nlappend auto_path \[file join \[file dirname \[info script\]\] .. lib\]\npackage require critcl::app\ncritcl::app::main \$argv" + close $c + +x $theapp +