Date: Fri, 10 Dec 2010 16:38:28 +0900 From: mitsuru y <mitsururike@gmail.com> To: Pav Lucistnik <pav@freebsd.org> Cc: freebsd-ports-bugs@freebsd.org Subject: Re: ports/152288: New port: devel/scalatest Message-ID: <AANLkTikpLoqqmyvBGVUFhZyhSXhbFhSCC2Jvofh2kGmG@mail.gmail.com> In-Reply-To: <4CF4CF2C.4060807@FreeBSD.org> References: <201011261458.oAQEw5iL086113@freefall.freebsd.org> <AANLkTinmbOaRE45UiQxBH5S5GO=pXEgMSQf%2B84n-9TxK@mail.gmail.com> <4CF4CF2C.4060807@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
I think that SCALA_HOME=3D $$(/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=3D/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>> >> >> =A0 =A0Synopsis: New port: devel/scalatest >> >> =A0 =A0State-Changed-From-To: open->feedback >> =A0 =A0State-Changed-By: pav >> =A0 =A0State-Changed-When: Fri Nov 26 14:51:57 UTC 2010 >> =A0 =A0State-Changed-Why: >> =A0 =A0This won't work >> >> =A0 =A0FIND_SCALA_HOME=3D =A0 =A0 =A0 =A0${FILESDIR}/find_scala_home.sh = ${PREFIX} >> =A0 =A0SCALA_HOME=3D =A0 =A0 $$(${FIND_SCALA_HOME}) >> >> =A0 =A0because it will get evaluated before lang/scala port is installed= . >> =A0 =A0Could you re-do this to use ${LOCALBASE} variable instead? >> >> >> =A0 =A0Responsible-Changed-From-To: freebsd-ports-bugs->pav >> =A0 =A0Responsible-Changed-By: pav >> =A0 =A0Responsible-Changed-When: Fri Nov 26 14:51:57 UTC 2010 >> =A0 =A0Responsible-Changed-Why: >> =A0 =A0Track >> >> =A0 =A0http://www.freebsd.org/cgi/query-pr.cgi?pr=3D152288 >> >> > > > -- > Pav Lucistnik <pav@oook.cz> > =A0 =A0 =A0 =A0 =A0 =A0 =A0<pav@FreeBSD.org> >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTikpLoqqmyvBGVUFhZyhSXhbFhSCC2Jvofh2kGmG>