<p>Do not require pkg-config to emit spaces around elements in its <code>--print-requires</code> output.</p>
<p>This should fix Geany GTK version check on OpenBSD 6.4.</p>
<hr>
<p><a class="user-mention" data-hovercard-type="user" data-hovercard-url="/hovercards?user_id=16764864" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/andy5995">@andy5995</a> could you check this and see if it helps?  Once configured, you should get something like that (obviously with GTK2 version of it if you've got a GTK2 build):</p>
<div class="highlight highlight-source-shell"><pre>$ grep ^GP_GTK_ config.log 
GP_GTK_PACKAGE=<span class="pl-s"><span class="pl-pds">'</span>gtk+-3.0<span class="pl-pds">'</span></span>
GP_GTK_VERSION=<span class="pl-s"><span class="pl-pds">'</span>3.0<span class="pl-pds">'</span></span>
GP_GTK_VERSION_MAJOR=<span class="pl-s"><span class="pl-pds">'</span>3<span class="pl-pds">'</span></span></pre></div>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/geany/geany-plugins/pull/815'>https://github.com/geany/geany-plugins/pull/815</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>Don't rely on a pkg-config output formatting detail</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany-plugins/pull/815/files#diff-0">build/gtk.m4</a>
    (5)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/geany/geany-plugins/pull/815.patch'>https://github.com/geany/geany-plugins/pull/815.patch</a></li>
  <li><a href='https://github.com/geany/geany-plugins/pull/815.diff'>https://github.com/geany/geany-plugins/pull/815.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany-plugins/pull/815">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABDrJ3uuSE-K8vR6C69guxKw92Mltwn-ks5vGNw6gaJpZM4aPuEX">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABDrJz2hXODWPR857RpRJ3B-wdxBumJVks5vGNw6gaJpZM4aPuEX.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/geany/geany-plugins","title":"geany/geany-plugins","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/geany/geany-plugins"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"Don't rely on a pkg-config output formatting detail (#815)"}],"action":{"name":"View Pull Request","url":"https://github.com/geany/geany-plugins/pull/815"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany-plugins/pull/815",
"url": "https://github.com/geany/geany-plugins/pull/815",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>