Mark pkg-config dependency as development instead of runtime

Fixes ports that depend on ruby-rmagick, such as ruby-gruff.

Issue reported by naddy@. I missed committing this patch when
updating rmagick to 5.1.0.
This commit is contained in:
jeremy 2023-01-14 17:29:36 +00:00
parent 88a2d25dd9
commit e15f732bc9
2 changed files with 15 additions and 0 deletions

View File

@ -2,6 +2,7 @@ COMMENT = Ruby interface to ImageMagick
DISTNAME = rmagick-5.1.0
CATEGORIES = graphics
REVISION = 0
HOMEPAGE = https://github.com/rmagick/rmagick

View File

@ -0,0 +1,14 @@
Don't require pkg-config gem at runtime, as it is only used for building.
Index: .metadata
--- .metadata.orig
+++ .metadata
@@ -20,7 +20,7 @@ dependencies:
- - "~>"
- !ruby/object:Gem::Version
version: '1.4'
- type: :runtime
+ type: :development
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
requirements: