[92224] trunk/dports/math/pari/Portfile
ryandesign at macports.org
ryandesign at macports.org
Sun Apr 22 01:31:04 PDT 2012
Revision: 92224
https://trac.macports.org/changeset/92224
Author: ryandesign at macports.org
Date: 2012-04-22 01:31:01 -0700 (Sun, 22 Apr 2012)
Log Message:
-----------
pari: fix incorrect use of ${os.arch} in doc variant that would prevent universal variant from building on PowerPC systems
Modified Paths:
--------------
trunk/dports/math/pari/Portfile
Modified: trunk/dports/math/pari/Portfile
===================================================================
--- trunk/dports/math/pari/Portfile 2012-04-22 08:19:11 UTC (rev 92223)
+++ trunk/dports/math/pari/Portfile 2012-04-22 08:31:01 UTC (rev 92224)
@@ -70,7 +70,6 @@
build.target gp
post-destroot {
- global os.arch
set docdir ${destroot}${prefix}/share/doc/${name}
file mkdir ${docdir}
xinstall -m 644 -v -W ${worksrcpath} \
@@ -83,14 +82,13 @@
build.target-append docpdf
post-destroot {
if {[variant_isset universal]} {
- xinstall -m 644 -v -W ${worksrcpath}-${os.arch}/doc \
- develop.pdf libpari.pdf refcard.pdf tutorial.pdf users.pdf \
- ${destroot}${prefix}/share/${name}/doc
+ set dir ${worksrcpath}-[lindex ${universal_archs_to_use} 0]
} else {
- xinstall -m 644 -v -W ${worksrcpath}/doc \
- develop.pdf libpari.pdf refcard.pdf tutorial.pdf users.pdf \
- ${destroot}${prefix}/share/${name}/doc
+ set dir ${worksrcpath}
}
+ xinstall -m 644 -W ${dir}/doc \
+ develop.pdf libpari.pdf refcard.pdf tutorial.pdf users.pdf \
+ ${destroot}${prefix}/share/${name}/doc
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120422/51a91f03/attachment.html>
More information about the macports-changes
mailing list