[84155] trunk/dports/devel/openssl/Portfile
Ryan Schmidt
ryandesign at macports.org
Mon Sep 19 11:22:50 PDT 2011
On Sep 19, 2011, at 13:04, mww at macports.org wrote:
> Revision: 84155
> http://trac.macports.org/changeset/84155
> Author: mww at macports.org
> Date: 2011-09-19 11:04:58 -0700 (Mon, 19 Sep 2011)
> Log Message:
> -----------
> openssl: do a 'fake destroot' before testing so that 'port test' works out of the box
>
> Modified Paths:
> --------------
> trunk/dports/devel/openssl/Portfile
>
> Modified: trunk/dports/devel/openssl/Portfile
> ===================================================================
> --- trunk/dports/devel/openssl/Portfile 2011-09-19 17:56:00 UTC (rev 84154)
> +++ trunk/dports/devel/openssl/Portfile 2011-09-19 18:04:58 UTC (rev 84155)
> @@ -48,7 +48,11 @@
> destroot.destdir INSTALL_PREFIX=${destroot}
> destroot.args MANDIR=${prefix}/share/man MANSUFFIX=ssl
>
> -# the test suite can only be run *after* destrooting
> +# the test suite can only be run *after* 'destrooting'
> +pre-test {
> + xinstall -d -m 755 ${workpath}/test/man
> + system -W ${worksrcpath} "${build.cmd} install INSTALL_PREFIX=${workpath}/test MANDIR=${workpath}/test/man"
> +}
> test.run yes
> test.dir ${worksrcpath}/test
Tests did work out of the box for me, without this change.
More information about the macports-dev
mailing list