[22362] trunk/dports/textproc/expat/Portfile
source_changes at macosforge.org
source_changes at macosforge.org
Tue Feb 27 03:03:50 PST 2007
Revision: 22362
http://trac.macosforge.org/projects/macports/changeset/22362
Author: pipping at macports.org
Date: 2007-02-27 03:03:50 -0800 (Tue, 27 Feb 2007)
Log Message:
-----------
* fix testsuite for single-arch builds
Modified Paths:
--------------
trunk/dports/textproc/expat/Portfile
Modified: trunk/dports/textproc/expat/Portfile
===================================================================
--- trunk/dports/textproc/expat/Portfile 2007-02-27 10:32:32 UTC (rev 22361)
+++ trunk/dports/textproc/expat/Portfile 2007-02-27 11:03:50 UTC (rev 22362)
@@ -20,6 +20,15 @@
configure.args --mandir=\\\${prefix}/share/man
destroot.destdir prefix=${destroot}${prefix}
+pre-test {
+ cd ${worksrcpath}/lib
+ file copy -force expat.h expat_external.h ../tests
+}
+# extract from tests/README.txt: "Expat must be built and installed
+# before "make check" can be executed."
+test.run yes
+test.target check
+
post-destroot {
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} \
${destroot}${prefix}/share/examples/${name}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070227/ea06f04a/attachment.html
More information about the macports-changes
mailing list