Changeset 560bef1


Ignore:
Timestamp:
03/13/2013 04:43:37 PM (11 years ago)
Author:
Pierre Labastie <pierre@…>
Branches:
2.4, ablfs-more, legacy, new_features, trunk
Children:
c80aa1f
Parents:
eed0929
Message:

Fix package management instructions for attr.
Add attr to blacklist in opt_config.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • LFS/lfs.xsl

    reed0929 r560bef1  
    193193                                                       @remap='install']">
    194194      <xsl:if test="../@id = 'ch-system-man-pages'">
    195 <!-- those files are provided by the shadow package -->
     195<!-- these files are provided by the shadow package -->
    196196  <xsl:text>rm -fv $PKG_DEST/usr/share/man/{man3/getspnam.3,man5/passwd.5}
     197</xsl:text>
     198      </xsl:if>
     199<!-- Attr man/man2 pages are already installed by man-pages. As of
     200     March 2013, they are the same pages. Check it sometimes... -->
     201      <xsl:if test="../@id = 'ch-system-attr'">
     202        <xsl:text>rm -fv $PKG_DEST/usr/share/man/man2/*
    197203</xsl:text>
    198204      </xsl:if>
     
    424430              <xsl:when test="./literal">
    425431                <xsl:call-template name="outputpkgdest">
    426                   <xsl:with-param name="outputstring"
    427                                 select="text()[1]"/>
     432                  <xsl:with-param name="outputstring" select="text()[1]"/>
    428433                </xsl:call-template>
    429434                <xsl:apply-templates select="literal"/>
    430435                <xsl:call-template name="outputpkgdest">
    431                   <xsl:with-param name="outputstring"
    432                                 select="text()[2]"/>
     436                  <xsl:with-param name="outputstring" select="text()[2]"/>
    433437                </xsl:call-template>
    434438              </xsl:when>
     
    524528             <xsl:text>install&#xA;</xsl:text>
    525529            </xsl:when>
     530            <xsl:when test="ancestor::sect1[@id='ch-system-attr']">
     531              <xsl:text>DIST_ROOT=$PKG_DEST make</xsl:text>
     532              <xsl:call-template name="outputpkgdest">
     533                <xsl:with-param name="outputstring"
     534                                select="substring-after($outputstring,'make')"/>
     535              </xsl:call-template>
     536            </xsl:when>
    526537            <xsl:otherwise>
    527              <xsl:text>make DESTDIR=$PKG_DEST</xsl:text>
    528              <xsl:call-template name="outputpkgdest">
    529                <xsl:with-param
     538              <xsl:text>make DESTDIR=$PKG_DEST</xsl:text>
     539              <xsl:call-template name="outputpkgdest">>
     540                <xsl:with-param
    530541                    name="outputstring"
    531542                    select="substring-after($outputstring,'make')"/>
    532              </xsl:call-template>
     543              </xsl:call-template>
    533544            </xsl:otherwise>
    534545           </xsl:choose>
  • optimize/opt_config

    reed0929 r560bef1  
    1717#    If your MAKEFLAGS don't contains a -jX option, you can set
    1818#    a empty list here.
    19 BLACK_LIST="autoconf dejagnu gettext groff man-db vim"
     19BLACK_LIST="attr autoconf dejagnu gettext groff man-db vim"
     20#    Rationale for attr: the tests do not pass with -jX
    2021
    2122#--- Default optimization mode
Note: See TracChangeset for help on using the changeset viewer.