pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/ruby-rex-exploitation security/ruby-rex-explo...
details: https://anonhg.NetBSD.org/pkgsrc/rev/ca75d1f5de7e
branches: trunk
changeset: 446938:ca75d1f5de7e
user: taca <taca%pkgsrc.org@localhost>
date: Sun Feb 14 15:04:30 2021 +0000
description:
security/ruby-rex-exploitation: add Ruby 3.0 support
Add Ruby 3.0 support with adding dependency to ruby-rexml.
diffstat:
security/ruby-rex-exploitation/Makefile | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (23 lines):
diff -r 7a1dedaba227 -r ca75d1f5de7e security/ruby-rex-exploitation/Makefile
--- a/security/ruby-rex-exploitation/Makefile Sun Feb 14 15:02:11 2021 +0000
+++ b/security/ruby-rex-exploitation/Makefile Sun Feb 14 15:04:30 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2021/02/14 13:24:29 taca Exp $
+# $NetBSD: Makefile,v 1.8 2021/02/14 15:04:30 taca Exp $
DISTNAME= rex-exploitation-0.1.27
CATEGORIES= security
@@ -13,9 +13,12 @@
DEPENDS+= ${RUBY_PKGPREFIX}-rex-arch-[0-9]*:../../security/ruby-rex-arch
DEPENDS+= ${RUBY_PKGPREFIX}-rex-encoder-[0-9]*:../../security/ruby-rex-encoder
DEPENDS+= ${RUBY_PKGPREFIX}-rex-text-[0-9]*:../../security/ruby-rex-text
-#DEPENDS+= ${RUBY_PKGPREFIX}-rexml-[0-9]*:../../textproc/ruby-rexml
USE_LANGUAGES= # none
+.include "../../lang/ruby/rubyversion.mk"
+.if empty(RUBY_VER:M2[0-9])
+DEPENDS+= ${RUBY_PKGPREFIX}-rexml-[0-9]*:../../textproc/ruby-rexml
+.endif
.include "../../lang/ruby/gem.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index