pkgsrc-Changes archive

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

CVS commit: pkgsrc/net/ruby-net-smtp



Module Name:    pkgsrc
Committed By:   taca
Date:           Sat Sep  3 04:12:03 UTC 2022

Modified Files:
        pkgsrc/net/ruby-net-smtp: Makefile

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/net/ruby-net-smtp/Makefile

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

Modified files:

Index: pkgsrc/net/ruby-net-smtp/Makefile
diff -u pkgsrc/net/ruby-net-smtp/Makefile:1.1 pkgsrc/net/ruby-net-smtp/Makefile:1.2
--- pkgsrc/net/ruby-net-smtp/Makefile:1.1       Sun Aug 28 04:16:30 2022
+++ pkgsrc/net/ruby-net-smtp/Makefile   Sat Sep  3 04:12:03 2022
@@ -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 @@ HOMEPAGE=     https://github.com/ruby/net-sm
 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