summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2011-11-24 13:05:44 +0000
committertaca <taca@pkgsrc.org>2011-11-24 13:05:44 +0000
commitf076aa33d5cda8040fc209375f003835783568f3 (patch)
tree70c926c2d2d675b8a24de6a3d9db09f18458e2f2 /security
parent3dba3997f44adae4ab0db4745fcbce9cf1d874f0 (diff)
downloadpkgsrc-f076aa33d5cda8040fc209375f003835783568f3.tar.gz
Enable build with ruby19/193 with dependency to net/ruby-soap4r.
Diffstat (limited to 'security')
-rw-r--r--security/opendnssec/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/security/opendnssec/Makefile b/security/opendnssec/Makefile
index 1fee85be537..27f511e35f1 100644
--- a/security/opendnssec/Makefile
+++ b/security/opendnssec/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2011/11/18 21:42:45 pettai Exp $
+# $NetBSD: Makefile,v 1.16 2011/11/24 13:05:44 taca Exp $
#
DISTNAME= opendnssec-1.3.3
@@ -23,7 +23,6 @@ USE_TOOLS+= bash gmake
CONFIG_SHELL= ${BASH}
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
-RUBY_VERSION_SUPPORTED= 18
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --prefix=${PREFIX:Q}
@@ -72,6 +71,12 @@ OWN_DIRS+= ${VARBASE}/opendnssec/signconf
OWN_DIRS+= ${VARBASE}/opendnssec/signed
OWN_DIRS+= ${VARBASE}/opendnssec/unsigned
+.include "../../lang/ruby/rubyversion.mk"
+
+.if ${RUBY_VER} != 18
+DEPENDS+= ${RUBY_PKGPREFIX}-soap4r>=2.0.3:../../net/ruby-soap4r
+.endif
+
.include "options.mk"
pre-install: