[PATCH] Force build from source if macports.conf sets delete_la_files

Rainer Müller raimue at macports.org
Mon Jul 22 08:32:32 PDT 2013


On 2013-07-22 16:50, Jeremy Huddleston Sequoia wrote:
> If delete_la_files doesn't match the default value, built packages won't match what we expect.  I think this was what caused https://trac.macports.org/ticket/39767
> 
> I think this is the correct change, but I wanted to get a review before pushing, thanks.
> 
> --Jeremy
> 
> Index: src/macports1.0/macports.tcl
> ===================================================================
> --- src/macports1.0/macports.tcl	(revision 108390)
> +++ src/macports1.0/macports.tcl	(working copy)
> @@ -963,6 +963,10 @@
>          } else {
>              set macports::delete_la_files no
>          }
> +    } else {
> +        # Fource building from source if delete_la_files is not the default value
> +        set macports::global_options(ports_source_only) yes
> +        set temp_options(ports_source_only) yes

Other options of this kind such as prefix, applications_dir, and
frameworks_dir are handled in archive_sites.conf.

Shouldn't we add this one there instead?

Rainer


More information about the macports-dev mailing list