Ignore:
Timestamp:
10/21/2023 11:37:50 AM (9 months ago)
Author:
Pierre Labastie <pierre.labastie@…>
Branches:
ablfs-more, trunk
Children:
1352172, 23b0161, c801809
Parents:
6d9bd8e
git-author:
Pierre Labastie <pierre.labastie@…> (10/19/2023 03:35:25 PM)
git-committer:
Pierre Labastie <pierre.labastie@…> (10/21/2023 11:37:50 AM)
Message:

Dependency on xorg7-* only on last package

Our gen-special.sh transforms a dependency on compound packages
(xorg7-*) on a dependency on the list of packages. This generates
a lot of trials when removing circular dependencies, because if the
dependency on xorg7-* is optional, all packages in the list are tried
in turn, while it is sure that anyway the dependecy must be eliminated.
If the dependency is only on the last package, the circular dep
is eliminated at first try.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BLFS/gen-special.sh

    r6d9bd8e r5ed69f8  
    171171        </module>
    172172EOF
    173     cat >> tmpfile << EOF
     173#    cat >> tmpfile << EOF
     174#        <xsl:element name="dependency">
     175#          <xsl:attribute name="status">
     176#            <xsl:value-of select="\$status"/>
     177#          </xsl:attribute>
     178#          <xsl:attribute name="build">
     179#            <xsl:value-of select="\$build"/>
     180#          </xsl:attribute>
     181#          <xsl:attribute name="name">$packname</xsl:attribute>
     182#          <xsl:attribute name="type">ref</xsl:attribute>
     183#        </xsl:element>
     184#EOF
     185    precpack=$packname
     186  done
     187  cat >>$SPECIAL_FILE << EOF
     188     </package>
     189   </xsl:when>
     190EOF
     191  cat >> tmpfile << EOF
    174192        <xsl:element name="dependency">
    175193          <xsl:attribute name="status">
     
    182200          <xsl:attribute name="type">ref</xsl:attribute>
    183201        </xsl:element>
    184 EOF
    185   done
    186   cat >>$SPECIAL_FILE << EOF
    187      </package>
    188    </xsl:when>
    189 EOF
    190   cat >> tmpfile << EOF
    191202      </xsl:when>
    192203EOF
Note: See TracChangeset for help on using the changeset viewer.