FEATURES: Rename lafilefixing -> fixlafiles
authorSebastian Luther <SebastianLuther@gmx.de>
Sun, 25 Jul 2010 07:12:59 +0000 (09:12 +0200)
committerZac Medico <zmedico@gentoo.org>
Sun, 25 Jul 2010 17:18:36 +0000 (10:18 -0700)
cnf/make.globals
man/make.conf.5
pym/portage/const.py
pym/portage/package/ebuild/doebuild.py

index bb11327c551199715acf457e013bfbcf8adfe453..76d0f1bc026cda003cc78d73e9deab13bb032514 100644 (file)
@@ -44,7 +44,7 @@ FETCHCOMMAND_RSYNC="rsync -avP \"\${URI}\" \"\${DISTDIR}/\${FILE}\""
 RESUMECOMMAND_RSYNC="rsync -avP \"\${URI}\" \"\${DISTDIR}/\${FILE}\""
 
 # Default user options
-FEATURES="assume-digests distlocks fixpackages lafilefixing news parallel-fetch protect-owned
+FEATURES="assume-digests distlocks fixpackages fixlafiles news parallel-fetch protect-owned
           sandbox sfperms strict unknown-features-warn unmerge-logs
           unmerge-orphans userfetch"
 
index 161fda33740c759bfdc5f588d30426318ef98ad8..ea23686c7961df3d2322d52e1d614ef65cdfc925 100644 (file)
@@ -279,7 +279,7 @@ prior to each build. Due to lack of proper cleanup, this feature can
 interfere with normal emerge operation and therefore it should not be left
 enabled for more than a short period of time.
 .TP
-.B lafilefixing
+.B fixlafiles
 Prevents modifiying .la files to not include other .la files and some other
 fixes (order of flags, duplicated entries, ...)
 .TP
index 5c0901b35ea485c71daf90c93ef6b30fedaa822e..62d3ceaf27c5f4bf8de093b8eb64f52a984cbac2 100644 (file)
@@ -87,7 +87,7 @@ SUPPORTED_FEATURES       = frozenset([
                            "assume-digests", "buildpkg", "buildsyspkg", "ccache",
                            "collision-protect", "digest", "distcc", "distlocks",
                            "fakeroot", "fail-clean", "fixpackages", "getbinpkg",
-                           "installsources", "keeptemp", "keepwork", "lafilefixing", "lmirror",
+                           "installsources", "keeptemp", "keepwork", "fixlafiles", "lmirror",
                            "metadata-transfer", "mirror", "multilib-strict", "news",
                            "noauto", "noclean", "nodoc", "noinfo", "noman", "nostrip",
                            "notitles", "parallel-fetch", "parse-eapi-ebuild-head",
index e9a29362829403f14ddf8c064c251078c212547b..b9cbc3e0e766d1a5d2a3b31ca627c3caebe362ba 100644 (file)
@@ -1578,8 +1578,8 @@ def _post_src_install_uid_fix(mysettings, out):
                unicode_error = False
                size = 0
                counted_inodes = set()
-               lafilefixing_announced = False
-               lafilefixing = "lafilefixing" in mysettings.features
+               fixlafiles_announced = False
+               fixlafiles = "fixlafiles" in mysettings.features
 
                for parent, dirs, files in os.walk(destdir):
                        try:
@@ -1619,7 +1619,7 @@ def _post_src_install_uid_fix(mysettings, out):
                                else:
                                        fpath = os.path.join(parent, fname)
 
-                               if lafilefixing and \
+                               if fixlafiles and \
                                        fname.endswith(".la") and os.path.isfile(fpath):
                                        f = open(_unicode_encode(fpath,
                                                encoding=_encodings['merge'], errors='strict'),
@@ -1630,16 +1630,16 @@ def _post_src_install_uid_fix(mysettings, out):
                                                needs_update, new_contents = rewrite_lafile(contents)
                                        except portage.exception.InvalidData as e:
                                                needs_update = False
-                                               if not lafilefixing_announced:
-                                                       lafilefixing_announced = True
+                                               if not fixlafiles_announced:
+                                                       fixlafiles_announced = True
                                                        writemsg("Fixing .la files\n", fd=out)
                                                msg = "   %s is not a valid libtool archive, skipping\n" % fpath[len(destdir):]
                                                qa_msg = "QA Notice: invalid .la file found: %s, %s" % (fpath[len(destdir):], e)
                                                writemsg(msg, fd=out)
                                                eqawarn(qa_msg, key=mysettings.mycpv, out=out)
                                        if needs_update:
-                                               if not lafilefixing_announced:
-                                                       lafilefixing_announced = True
+                                               if not fixlafiles_announced:
+                                                       fixlafiles_announced = True
                                                        writemsg("Fixing .la files\n", fd=out)
                                                writemsg("   %s\n" % fpath[len(destdir):], fd=out)
                                                f = open(_unicode_encode(fpath,