<head><!-- BaNnErBlUrFlE-HeAdEr-start -->
<style>
  #pfptBannermda59ou { all: revert !important; display: block !important; 
    visibility: visible !important; opacity: 1 !important; 
    background-color: #D0D8DC !important; 
    max-width: none !important; max-height: none !important }
  .pfptPrimaryButtonmda59ou:hover, .pfptPrimaryButtonmda59ou:focus {
    background-color: #b4c1c7 !important; }
  .pfptPrimaryButtonmda59ou:active {
    background-color: #90a4ae !important; }
</style>

<!-- BaNnErBlUrFlE-HeAdEr-end -->
</head><!-- BaNnErBlUrFlE-BoDy-start -->
<!-- Preheader Text : BEGIN -->
<div style="display:none !important;display:none;visibility:hidden;mso-hide:all;font-size:1px;color:#ffffff;line-height:1px;height:0px;max-height:0px;opacity:0;overflow:hidden;">
 This is not a choice I get to make. The users of my package may choose to use PETSc however they want. And /usr/share/petsc/Makefile. user or /usr/share/petsc/CMakeLists. txt are officially supported ways of using PETSc, so deciding to ignore
</div>
<!-- Preheader Text : END -->

<!-- Email Banner : BEGIN -->
<div style="display:none !important;display:none;visibility:hidden;mso-hide:all;font-size:1px;color:#ffffff;line-height:1px;height:0px;max-height:0px;opacity:0;overflow:hidden;">ZjQcmQRYFpfptBannerStart</div>

<!--[if ((ie)|(mso))]>
  <table border="0" cellspacing="0" cellpadding="0" width="100%" style="padding: 16px 0px 16px 0px; direction: ltr" ><tr><td>
    <table border="0" cellspacing="0" cellpadding="0" style="padding: 0px 10px 5px 6px; width: 100%; border-radius:4px; border-top:4px solid #90a4ae;background-color:#D0D8DC;"><tr><td valign="top">
      <table align="left" border="0" cellspacing="0" cellpadding="0" style="padding: 4px 8px 4px 8px">
        <tr><td style="color:#000000; font-family: 'Arial', sans-serif; font-weight:bold; font-size:14px; direction: ltr">
          This Message Is From an External Sender
        </td></tr>
        <tr><td style="color:#000000; font-weight:normal; font-family: 'Arial', sans-serif; font-size:12px; direction: ltr">
          This message came from outside your organization.
        </td></tr>

      </table>

    </td></tr></table>
  </td></tr></table>
<![endif]-->

<![if !((ie)|(mso))]>
  <div dir="ltr"  id="pfptBannermda59ou" style="all: revert !important; display:block !important; text-align: left !important; margin:16px 0px 16px 0px !important; padding:8px 16px 8px 16px !important; border-radius: 4px !important; min-width: 200px !important; background-color: #D0D8DC !important; background-color: #D0D8DC; border-top: 4px solid #90a4ae !important; border-top: 4px solid #90a4ae;">
    <div id="pfptBannermda59ou" style="all: unset !important; float:left !important; display:block !important; margin: 0px 0px 1px 0px !important; max-width: 600px !important;">
      <div id="pfptBannermda59ou" style="all: unset !important; display:block !important; visibility: visible !important; background-color: #D0D8DC !important; color:#000000 !important; color:#000000; font-family: 'Arial', sans-serif !important; font-family: 'Arial', sans-serif; font-weight:bold !important; font-weight:bold; font-size:14px !important; line-height:18px !important; line-height:18px">
        This Message Is From an External Sender
      </div>
      <div id="pfptBannermda59ou" style="all: unset !important; display:block !important; visibility: visible !important; background-color: #D0D8DC !important; color:#000000 !important; color:#000000; font-weight:normal; font-family: 'Arial', sans-serif !important; font-family: 'Arial', sans-serif; font-size:12px !important; line-height:18px !important; line-height:18px; margin-top:2px !important;">
This message came from outside your organization.
      </div>

    </div>

    <div style="clear: both !important; display: block !important; visibility: hidden !important; line-height: 0 !important; font-size: 0.01px !important; height: 0px"> </div>
  </div>
<![endif]>

<div style="display:none !important;display:none;visibility:hidden;mso-hide:all;font-size:1px;color:#ffffff;line-height:1px;height:0px;max-height:0px;opacity:0;overflow:hidden;">ZjQcmQRYFpfptBannerEnd</div>
<!-- Email Banner : END -->

<!-- BaNnErBlUrFlE-BoDy-end -->
<div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br><br>
This is not a choice I get to make. The users of my package may choose <br>
to use PETSc however they want. And /usr/share/petsc/Makefile.user or <br>
/usr/share/petsc/CMakeLists.txt are officially supported ways of using <br>
PETSc, so deciding to ignore these use cases and leaving junk flags in <br>
/usr/lib/pkgconfig/petsc.pc is not tolerable for me.<br></blockquote><div><br></div><div>Since you said  "your package", I have a few questions:</div><div><br></div><div>- why do your users need to know how to compile with PETSc?<br></div><div>- Shouldn't this be handled by you?</div><div>- And also, can't you tell your users how to use PETSc? (for example not to use the Makefile.user)</div><div><br></div><div>> And /usr/share/petsc/Makefile.user or /usr/share/petsc/CMakeLists.txt are officially supported ways of using PETSc, </div><div>Those two files are not the "officially supported ways of using PETSc."</div><div>They are examples of how to set up compilations using PETSc.</div><div><br></div><div>> leaving junk flags in /usr/lib/pkgconfig/petsc.pc is not tolerable for me.</div><div><br></div><div>Those are not junk flags, since they are not part of the pkg config standard</div><div><a href="https://urldefense.us/v3/__https://people.freedesktop.org/*dbn/pkg-config-guide.html__;fg!!G_uCfscf7eWS!d-as0YaTKRi7ARzjsQl9IU8ltIJCAw9yJy_g1VbAzfXYDaNPjDiC6o_WhtrhA8K7o1Lm5IAbSM--LkimyiQtut-CuKCpx6A$">https://people.freedesktop.org/~dbn/pkg-config-guide.html</a><br></div><div><br></div><div><br></div></div><br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature">Stefano</div></div>