[84155] trunk/dports/devel/openssl/Portfile
mww at macports.org
mww at macports.org
Mon Sep 19 11:04:59 PDT 2011
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
test.target alltests
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110919/b32c4a94/attachment-0001.html>
More information about the macports-changes
mailing list