[111279] trunk/dports/devel/aqbanking5

Ryan Schmidt ryandesign at macports.org
Wed Sep 18 17:42:51 PDT 2013


On Sep 18, 2013, at 01:53, mk at macports.org wrote:

> Revision: 111279
>          https://trac.macports.org/changeset/111279
> Author:   mk at macports.org
> Date:     2013-09-17 23:53:57 -0700 (Tue, 17 Sep 2013)
> Log Message:
> -----------
> aqbanking5: new subport aqbanking5-svn (at the moment the same revision as released as aqbanking5-devel)

> Modified: trunk/dports/devel/aqbanking5/Portfile

> +    post-configure {
> +        system "cd ${worksrcpath}; patch -p0 <${filespath}/patch-Makefile.diff"
> +    }

Instead of running "cd" within system, you should use its -W argument:

        system -W ${worksrcpath} "patch -p0 < ${filespath}/patch-Makefile.diff"

> +if {$subport != "aqbanking5-svn"} {
> +    master_sites      http://www2.aquamaniac.de/sites/download/download.php?package=03&release=${release}&file=01&dummy=
> +}

== and != are for numeric comparisons. For string comparisons, you should use eq or ne. (Yes, this issue is pervasive and needs to be fixed in a lot of ports.)




More information about the macports-dev mailing list