[83631] trunk/dports/sysutils/pstree/Portfile

Ryan Schmidt ryandesign at macports.org
Fri Sep 9 02:39:36 PDT 2011


On Sep 8, 2011, at 03:38, jeremyhu at macports.org wrote:

> Revision: 83631
>          http://trac.macports.org/changeset/83631
> Author:   jeremyhu at macports.org
> Date:     2011-09-08 01:38:56 -0700 (Thu, 08 Sep 2011)
> Log Message:
> -----------
> pstree: Work around a string alignment bug in clang
> 
> Modified Paths:
> --------------
>    trunk/dports/sysutils/pstree/Portfile
> 
> Modified: trunk/dports/sysutils/pstree/Portfile
> ===================================================================
> --- trunk/dports/sysutils/pstree/Portfile	2011-09-08 08:31:34 UTC (rev 83630)
> +++ trunk/dports/sysutils/pstree/Portfile	2011-09-08 08:38:56 UTC (rev 83631)
> @@ -4,6 +4,7 @@
> 
> name			pstree
> version			2.33
> +revision		1
> categories		sysutils
> maintainers		mww
> description		pstree shows the output of the ps command as a tree
> @@ -17,6 +18,13 @@
>                     sha1    2f29ea2618cb6fd90529a543a94ed89b79db58b8 \
>                     rmd160  4514485622955b66b162c1db2c1a454eda2df86d
> 
> +# http://llvm.org/pr10514
> +# <rdar://problem/10015171>
> +if {${configure.compiler} == "clang"} {
> +	configure.cflags-delete -O2
> +	configure.cflags-append -O1
> +}

Perhaps you would prefer to set configure.optflags instead.





More information about the macports-dev mailing list