On Sep 18, 2013, at 01:53, [email protected] wrote:

> Revision: 111279
>          https://trac.macports.org/changeset/111279
> Author:   [email protected]
> 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.)


_______________________________________________
macports-dev mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to