pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/ruby-net-smtp net/ruby-net-smtp: add dependencies



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e9a572eb07ef
branches:  trunk
changeset: 384639:e9a572eb07ef
user:      taca <taca%pkgsrc.org@localhost>
date:      Sat Sep 03 04:12:03 2022 +0000

description:
net/ruby-net-smtp: add dependencies

* This package is mainly for redmine50 on Ruby 2.7.
* This package require ruby-net-protocol and ruby-digest on Ruby 2.7.

Bump PKGREVISION.

diffstat:

 net/ruby-net-smtp/Makefile |  11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diffs (31 lines):

diff -r 6850591b117d -r e9a572eb07ef net/ruby-net-smtp/Makefile
--- a/net/ruby-net-smtp/Makefile        Sat Sep 03 04:10:36 2022 +0000
+++ b/net/ruby-net-smtp/Makefile        Sat Sep 03 04:12:03 2022 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.1 2022/08/28 04:16:30 taca Exp $
+# $NetBSD: Makefile,v 1.2 2022/09/03 04:12:03 taca Exp $
 
 DISTNAME=      net-smtp-0.3.1
+PKGREVISION=   1
 CATEGORIES=    net mail
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -8,10 +9,18 @@
 COMMENT=       Simple Mail Transfer Protocol client library for Ruby
 LICENSE=       2-clause-bsd OR ruby-license
 
+# This package is mainly for redmine50 on Ruby 2.7.
+
 USE_LANGUAGES= # none
 
 # Ruby 3.1 has the same version in it.
 RUBY_VERSIONS_ACCEPTED=        27 30
 
+.include "../../lang/ruby/rubyversion.mk"
+.if ${RUBY_VER} == 27
+DEPENDS+=      ${RUBY_PKGPREFIX}-net-protocol:../../net/ruby-net-protocol
+DEPENDS+=      ${RUBY_PKGPREFIX}-digest:../../security/ruby-digest
+.endif
+
 .include "../../lang/ruby/gem.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index