[128555] trunk/dports/gis/saga

Ryan Schmidt ryandesign at macports.org
Sun Nov 23 03:25:02 PST 2014


> On Nov 23, 2014, at 2:00 AM, vince at macports.org wrote:
> 
> Revision
> 128555
> Author
> vince at macports.org
> Date
> 2014-11-23 00:00:19 -0800 (Sun, 23 Nov 2014)
> Log Message
> 
> saga: upgrade to 2.1.4
> Modified Paths
> 
> 	• trunk/dports/gis/saga/Portfile
> 	• trunk/dports/gis/saga/files/patch-configure.diff
> Diff
> 
> Modified: trunk/dports/gis/saga/Portfile (128554 => 128555)
> 
> --- trunk/dports/gis/saga/Portfile	2014-11-23 06:12:49 UTC (rev 128554)
> +++ trunk/dports/gis/saga/Portfile	2014-11-23 08:00:19 UTC (rev 128555)

>  post-patch  {
> -    reinplace -E "s|wx-config|${wxWidgets.wxconfig}|" ${worksrcpath}/configure
> +#    reinplace -E "s|wx-config|${wxWidgets.wxconfig}|" ${worksrcpath}/configure
>  
>      set mkfiles [exec find ${worksrcpath} -type f -name Makefile.in]
>      foreach makefile ${mkfiles} {

> --- trunk/dports/gis/saga/files/patch-configure.diff	2014-11-23 06:12:49 UTC (rev 128554)
> +++ trunk/dports/gis/saga/files/patch-configure.diff	2014-11-23 08:00:19 UTC (rev 128555)

> -@@ -19877,16 +19877,7 @@
> +@@ -16942,8 +16942,8 @@
> + # conditionals
> + 
> + # wxwidgets
> +-# the test could be extended to check for wx-config --version too
> +-if test "`wx-config --list | grep unicode`" != "" ; then
> ++# the test could be extended to check for /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/bin/wx-config --version too
> ++if test "`/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/bin/wx-config --list | grep unicode`" != "" ; then
> +    if true; then
> +   SAGA_UNICODE_TRUE=
> +   SAGA_UNICODE_FALSE='#'


/opt/local/Library/Frameworks should not be hardcoded here. Are you sure commenting out the reinplace is correct?



More information about the macports-dev mailing list