pkg-config 1.4.8 → 1.4.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c2c16e146d0ccf624f6d0bb159f794819283d0a03473faa688464c85529c76a8
4
- data.tar.gz: 7bf14f8e591acf8eaae6ac8859499e1bb193e098d3f1ae6fd73027992433a87e
3
+ metadata.gz: a8744b07afc1df6d424780519cc0bc63c958c3933b1b4ee58ed8c97b73c240f9
4
+ data.tar.gz: 4cdef6c98e5f88ac45a0bc5c26f580a1d9fb31fb637bfd37eb014e7aa6798bff
5
5
  SHA512:
6
- metadata.gz: 78855df890fe391b08d049034817b8df3e238bbf584fe206dbea89c035ef3bc09651bc233c0623b09750f425afeeef0339fec0eca22555775e7f76a0bd3afdcc
7
- data.tar.gz: d1baeaa40e6e8334c8b90dce84b8d53e5709164e983e267728897124f07f700051539b3cf5c347d1107c799535aa7a1aa860a9cd3fba1937147acfae05ffe585
6
+ metadata.gz: daad81936552a5db084c32c3c91825917cdb5f35c3940aa7cd0249f433ab02b5b5ee779538e7cad51721f9daed7890e9a45571244078f927db895b243045a2bd
7
+ data.tar.gz: 970f917f76ed381f3d427c3add37495107c5bb556aa9470b72459b06bb768b4ad21215f9efd6fb712535a9f99f9ffb2019313e562d5f57c1228de5824634c36b
data/NEWS CHANGED
@@ -1,5 +1,15 @@
1
1
  = NEWS
2
2
 
3
+ == 1.4.9 - 2022-07-31
4
+
5
+ This is a bug fix release of 1.4.8. All 1.4.8 users should be upgraded
6
+ to 1.4.9.
7
+
8
+ === Fixes
9
+
10
+ * Fixed a regression bug in 1.4.8 that PkgConfig.have_package can't
11
+ detect nonexistent package.
12
+
3
13
  == 1.4.8 - 2022-07-30
4
14
 
5
15
  === Improvements
@@ -15,5 +15,5 @@
15
15
  # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16
16
 
17
17
  module PKGConfig
18
- VERSION = "1.4.8"
18
+ VERSION = "1.4.9"
19
19
  end
data/lib/pkg-config.rb CHANGED
@@ -598,13 +598,14 @@ module PKGConfig
598
598
  message << " version (>= #{major}.#{minor}.#{micro})"
599
599
  end
600
600
  major ||= 0
601
- enough_version = checking_for(checking_message(message), "%s") do
601
+ result = checking_for(checking_message(message), "%s") do
602
602
  if check_version?(pkg, major, minor, micro)
603
603
  "yes (#{modversion(pkg)})"
604
604
  else
605
605
  "no"
606
606
  end
607
607
  end
608
+ enough_version = (result != "no")
608
609
  if enough_version
609
610
  libraries = libs_only_l(pkg)
610
611
  dldflags = libs(pkg)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pkg-config
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.8
4
+ version: 1.4.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kouhei Sutou