From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Dec 10 13:23:33 2010 Return-Path: Delivered-To: freebsd-ports-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 60022106566C for ; Fri, 10 Dec 2010 13:23:33 +0000 (UTC) (envelope-from pav@FreeBSD.org) Received: from raven.customer.vol.cz (raven.customer.vol.cz [195.250.144.108]) by mx1.freebsd.org (Postfix) with ESMTP id C9C1D8FC17 for ; Fri, 10 Dec 2010 13:23:32 +0000 (UTC) Received: from pav.hide.vol.cz (nat-application.b1.lan.prg.vol.cz [195.122.204.152]) (authenticated bits=0) by raven.customer.vol.cz (8.14.3/8.14.3) with ESMTP id oBADNRls027361 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO); Fri, 10 Dec 2010 14:23:30 +0100 (CET) (envelope-from pav@FreeBSD.org) Message-ID: <4D0229CF.3010100@FreeBSD.org> Date: Fri, 10 Dec 2010 14:23:27 +0100 From: Pav Lucistnik User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.2.12) Gecko/20101124 Thunderbird/3.1.6 MIME-Version: 1.0 To: mitsuru y References: <201011261458.oAQEw5iL086113@freefall.freebsd.org> <4CF4CF2C.4060807@FreeBSD.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.68 on 195.250.144.108 X-Milter: Spamilter (Reciever: raven.customer.vol.cz; Sender-ip: 195.122.204.152; Sender-helo: pav.hide.vol.cz; ) Cc: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/152288: New port: devel/scalatest X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Dec 2010 13:23:33 -0000 Ok that works. On 2010/12/10 08:38, mitsuru y wrote: > I think that > SCALA_HOME= $$(/bin/sh ${FIND_SCALA_HOME}) > solves the +x flag problem. > > 2010/11/30 Pav Lucistnik: >> The problem is that the files under files/ cannot have +x flag, so after >> distribution over cvsup/portsnap this port will fail to execute >> find_scala_home.sh ... >> >> Thus I propose you switch to another mechanism to find the required >> directory. >> >> Just hardcoding the version and leaving remark in lang/scala port to >> manually update scalatest would be enough IMHO. (See devel/goffice for >> example.) >> >> On 2010/11/30 10:40, mitsuru y wrote: >>> >>> Hi, >>> >>> Since it works on my environment, I don't understand what the problem >>> is... >>> Do >>> >>> cd devel/scalatest >>> pkg_deinstall -r scala >>> sudo PREFIX=/work/local make install >>> >>> and you will find lang/scala and devel/scalatest are installed in >>> /work/local. >>> Would you explain what won't work? >>> >>> -- >>> mitsuru >>> >>> 2010/11/26> >>> >>> Synopsis: New port: devel/scalatest >>> >>> State-Changed-From-To: open->feedback >>> State-Changed-By: pav >>> State-Changed-When: Fri Nov 26 14:51:57 UTC 2010 >>> State-Changed-Why: >>> This won't work >>> >>> FIND_SCALA_HOME= ${FILESDIR}/find_scala_home.sh ${PREFIX} >>> SCALA_HOME= $$(${FIND_SCALA_HOME}) >>> >>> because it will get evaluated before lang/scala port is installed. >>> Could you re-do this to use ${LOCALBASE} variable instead? >>> >>> >>> Responsible-Changed-From-To: freebsd-ports-bugs->pav >>> Responsible-Changed-By: pav >>> Responsible-Changed-When: Fri Nov 26 14:51:57 UTC 2010 >>> Responsible-Changed-Why: >>> Track >>> >>> http://www.freebsd.org/cgi/query-pr.cgi?pr=152288 >>> >>> >> >> >> -- >> Pav Lucistnik >> >> -- Pav Lucistnik