pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/graphics/ruby-RMagick



Module Name:    pkgsrc
Committed By:   taca
Date:           Thu Jan  2 06:28:30 UTC 2025

Modified Files:
        pkgsrc/graphics/ruby-RMagick: Makefile

Log Message:
graphics/ruby-RMagick: dependency update

Ruby 3.3 and later have required observer gem as default gem.

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.178 -r1.179 pkgsrc/graphics/ruby-RMagick/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/graphics/ruby-RMagick/Makefile
diff -u pkgsrc/graphics/ruby-RMagick/Makefile:1.178 pkgsrc/graphics/ruby-RMagick/Makefile:1.179
--- pkgsrc/graphics/ruby-RMagick/Makefile:1.178 Sun Nov 24 06:59:08 2024
+++ pkgsrc/graphics/ruby-RMagick/Makefile       Thu Jan  2 06:28:30 2025
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.178 2024/11/24 06:59:08 adam Exp $
+# $NetBSD: Makefile,v 1.179 2025/01/02 06:28:30 taca Exp $
 
 DISTNAME=      rmagick-6.0.1
 PKGNAME=       ${RUBY_PKGPREFIX}-${DISTNAME:S/rmagick/RMagick/}
-PKGREVISION=   8
+PKGREVISION=   9
 CATEGORIES=    graphics
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -11,7 +11,6 @@ COMMENT=      Ruby binding to ImageMagick
 LICENSE=       mit
 
 DEPENDS+=      ${RUBY_PKGPREFIX}-pkg-config>=1.4<2:../../devel/ruby-pkg-config
-DEPENDS+=      ${RUBY_PKGPREFIX}-observer>=0.1<1:../../devel/ruby-observer
 
 USE_GCC_RUNTIME=       yes
 USE_LANGUAGES=         c c++
@@ -19,6 +18,11 @@ FORCE_C_STD=         c99
 
 BUILDLINK_TRANSFORM.Darwin+=   rm:-Wl,--no-as-needed
 
+.include "../../lang/ruby/rubyversion.mk"
+.if ${RUBY_VER} < 33
+DEPENDS+=      ${RUBY_PKGPREFIX}-observer>=0.1<1:../../devel/ruby-observer
+.endif
+
 .include "../../devel/ruby-pkg-config/tool.mk"
 .include "../../lang/ruby/gem.mk"
 .include "../../graphics/ImageMagick/buildlink3.mk"



Home | Main Index | Thread Index | Old Index