Ignore:
Timestamp:
07/26/2007 10:12:32 PM (17 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
Children:
a70c289
Parents:
83ace0a
Message:

BLFS: Fixed xorg-server + mesalib issues (I think)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BLFS/libs/scripts.xsl

    r83ace0a r5fb652f  
    107107            </xsl:apply-templates>
    108108            <!-- Clean-up -->
    109             <xsl:text>cd $SRC_DIR/$PKG_DIR&#xA;</xsl:text>
    110             <xsl:text>rm -rf $UNPACKDIR unpacked&#xA;&#xA;</xsl:text>
     109            <xsl:if test="not(@id='mesalib')">
     110              <xsl:text>cd $SRC_DIR/$PKG_DIR&#xA;</xsl:text>
     111              <xsl:text>rm -rf $UNPACKDIR unpacked&#xA;&#xA;</xsl:text>
     112            </xsl:if>
     113            <xsl:if test="@id='xorg7-server'">
     114              <xsl:text>cd $SRC_DIR/MesaLib
     115UNPACKDIR=`head -n1 unpacked | sed 's@^./@@;s@/.*@@'`
     116rm -rf $UNPACKDIR unpacked&#xA;&#xA;</xsl:text>
     117            </xsl:if>
    111118          </xsl:when>
    112119          <!-- Xorg7 pseudo-packages -->
     
    448455
    449456  <xsl:template match="replaceable">
    450     <xsl:text>**EDITME</xsl:text>
    451     <xsl:apply-templates/>
    452     <xsl:text>EDITME**</xsl:text>
     457    <xsl:choose>
     458      <xsl:when test="ancestor::sect1[@id='xorg7-server']">
     459        <xsl:text>$SRC_DIR/MesaLib</xsl:text>
     460      </xsl:when>
     461      <xsl:otherwise>
     462        <xsl:text>**EDITME</xsl:text>
     463        <xsl:apply-templates/>
     464        <xsl:text>EDITME**</xsl:text>
     465      </xsl:otherwise>
     466    </xsl:choose>
    453467  </xsl:template>
    454468
Note: See TracChangeset for help on using the changeset viewer.