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

Jeremy Huddleston Sequoia jeremyhu at macports.org
Mon Jul 22 07:50:16 PDT 2013


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
     }
     if {![info exists macports::global_options(ports_rev-upgrade_id-loadcmd-check)]
          && [info exists macports::revupgrade_check_id_loadcmds]} {

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4145 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macports-dev/attachments/20130722/081992d9/attachment.p7s>


More information about the macports-dev mailing list