pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/ruby-redmine50 devel/ruby-redmine50: fix depende...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a5e95dd29295
branches:  trunk
changeset: 384753:a5e95dd29295
user:      taca <taca%pkgsrc.org@localhost>
date:      Sun Sep 04 15:15:36 2022 +0000

description:
devel/ruby-redmine50: fix dependency for ruby30

Ruby 3.0 dose not need ruby-net-pop package.

diffstat:

 devel/ruby-redmine50/Makefile |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (22 lines):

diff -r 61bbc3a460ad -r a5e95dd29295 devel/ruby-redmine50/Makefile
--- a/devel/ruby-redmine50/Makefile     Sun Sep 04 15:09:00 2022 +0000
+++ b/devel/ruby-redmine50/Makefile     Sun Sep 04 15:15:36 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2022/09/03 13:53:58 taca Exp $
+# $NetBSD: Makefile,v 1.2 2022/09/04 15:15:36 taca Exp $
 
 DISTNAME=      redmine-${RM_VERSION}
 PKGNAME=       ${RUBY_PKGPREFIX}-${DISTNAME:S/redmine/redmine${RM_VER}/}
@@ -50,9 +50,10 @@
 .include "../../lang/ruby/modules.mk"
 .include "options.mk"
 
-.if ${RUBY_VER} != 31
+.if ${RUBY_VER} == 27
+DEPENDS+=      ${RUBY_PKGPREFIX}-net-pop>=0.1.1<0.2:../../net/ruby-net-pop
+.elif ${RUBY_VER} != 31
 DEPENDS+=      ${RUBY_PKGPREFIX}-net-imap>=0.2.2<0.3:../../net/ruby-net-imap
-DEPENDS+=      ${RUBY_PKGPREFIX}-net-pop>=0.1.1<0.2:../../net/ruby-net-pop
 DEPENDS+=      ${RUBY_PKGPREFIX}-net-smtp>=0.3.0<0.4:../../net/ruby-net-smtp
 .endif
 



Home | Main Index | Thread Index | Old Index