[131817] trunk/dports/_resources/port1.0/group/gobject_introspection-1.0. tcl

David Evans devans at macports.org
Mon Jan 19 15:48:19 PST 2015


On 1/19/15 9:42 AM, Jeremy Huddleston Sequoia wrote:
> Don't we need to set destroot-args as well, or was the bug that necessitated that (rebuilding the gir during destroot phase) fixed?
>
> Index: gobject_introspection-1.0.tcl
> ===================================================================
> --- gobject_introspection-1.0.tcl	(revision 131831)
> +++ gobject_introspection-1.0.tcl	(working copy)
> @@ -79,10 +79,12 @@
>           if {[info exists universal_archs_to_use]} {
>               global merger_build_args
>               foreach arch ${universal_archs_to_use} {
> -                lappend merger_build_args(${arch})  CC='${configure.cc} -arch ${arch}'
> +                lappend merger_build_args(${arch})     CC='${configure.cc} -arch ${arch}'
> +                lappend merger_destroot_args(${arch})  CC='${configure.cc} -arch ${arch}'
>               }
>           } else {
> -            build.args-append   CC="${configure.cc} ${configure.cc_archflags}"
> +            build.args-append      CC="${configure.cc} ${configure.cc_archflags}"
> +            destroot.args-append   CC="${configure.cc} ${configure.cc_archflags}"
>           }
>   
>           # The rules enabled by gobject-introspection require GNU make 3.81+

I haven't been bitten by this as yet but it certainly doesn't hurt either. Patch committed in r131847.  Thanks for the reminder.

Dave



More information about the macports-dev mailing list