[95297] trunk/dports/perl/p5-thrift/Portfile

blair at macports.org blair at macports.org
Sun Jul 8 15:38:34 PDT 2012


Revision: 95297
          https://trac.macports.org/changeset/95297
Author:   blair at macports.org
Date:     2012-07-08 15:38:31 -0700 (Sun, 08 Jul 2012)
Log Message:
-----------
p5-thrift: move {configure,build,test,destroot}.dir into if block.

Modified Paths:
--------------
    trunk/dports/perl/p5-thrift/Portfile

Modified: trunk/dports/perl/p5-thrift/Portfile
===================================================================
--- trunk/dports/perl/p5-thrift/Portfile	2012-07-08 21:42:55 UTC (rev 95296)
+++ trunk/dports/perl/p5-thrift/Portfile	2012-07-08 22:38:31 UTC (rev 95297)
@@ -27,16 +27,16 @@
 dist_subdir     thrift
 distname        thrift-${version}
 
-configure.dir   ${worksrcpath}/lib/perl
-build.dir       ${configure.dir}
-test.dir        ${configure.dir}
-destroot.dir    ${configure.dir}
-
 checksums       md5     d29dfcd38d476cbc420b6f4d80ab966c \
                 sha1    1d652d7078d9cc70e2a45d3119b13e86ebd446da \
                 rmd160  bb0e1d2b6d30b70590752a7f9318e14de285c505
 
 if {${perl5.major} != ""} {
+        configure.dir   ${worksrcpath}/lib/perl
+        build.dir       ${configure.dir}
+        test.dir        ${configure.dir}
+        destroot.dir    ${configure.dir}
+
         depends_lib-append      port:p${perl5.major}-bit-vector \
                                 port:p${perl5.major}-class-accessor
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120708/aaa91525/attachment.html>


More information about the macports-changes mailing list