ports/152288: New port: devel/scalatest

mitsuru y mitsururike at gmail.com
Fri Dec 10 07:38:30 UTC 2010


I think that
 SCALA_HOME=     $$(/bin/sh ${FIND_SCALA_HOME})
solves the +x flag problem.

2010/11/30 Pav Lucistnik <pav at 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 at freebsd.org <mailto:pav at 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 at oook.cz>
>              <pav at FreeBSD.org>
>



More information about the freebsd-ports-bugs mailing list