Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Dec 2010 14:23:27 +0100
From:      Pav Lucistnik <pav@FreeBSD.org>
To:        mitsuru y <mitsururike@gmail.com>
Cc:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/152288: New port: devel/scalatest
Message-ID:  <4D0229CF.3010100@FreeBSD.org>
In-Reply-To: <AANLkTikpLoqqmyvBGVUFhZyhSXhbFhSCC2Jvofh2kGmG@mail.gmail.com>
References:  <201011261458.oAQEw5iL086113@freefall.freebsd.org>	<AANLkTinmbOaRE45UiQxBH5S5GO=pXEgMSQf%2B84n-9TxK@mail.gmail.com>	<4CF4CF2C.4060807@FreeBSD.org> <AANLkTikpLoqqmyvBGVUFhZyhSXhbFhSCC2Jvofh2kGmG@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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<pav@freebsd.org>:
>> 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<pav@freebsd.org<mailto:pav@freebsd.org>>
>>>
>>>     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@oook.cz>
>>               <pav@FreeBSD.org>
>>


-- 
Pav Lucistnik <pav@oook.cz>
               <pav@FreeBSD.org>



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