summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2016-03-28 03:47:46 +0000
committertaca <taca@pkgsrc.org>2016-03-28 03:47:46 +0000
commit61a2730797316c799fd0e3f12a1e444824306e09 (patch)
treee9ccdd50e2ce08af77396f067c8f5945c687db51 /multimedia
parentc5826e98b065c4b86c6aba88ecf37ef0432ad117 (diff)
downloadpkgsrc-61a2730797316c799fd0e3f12a1e444824306e09.tar.gz
Avoid to depends on devel/ruby-rake but depends on ruby-base package:
* devel/ruby-rake is not supporetd with ruby23. * There is no need to devel/ruby-rake but builtin rake(1) in ruby-base package is enough.
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/mkvtoolnix/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/multimedia/mkvtoolnix/Makefile b/multimedia/mkvtoolnix/Makefile
index 21cb9b39f5b..903102a2c08 100644
--- a/multimedia/mkvtoolnix/Makefile
+++ b/multimedia/mkvtoolnix/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.78 2016/03/26 23:07:13 joerg Exp $
+# $NetBSD: Makefile,v 1.79 2016/03/28 03:47:46 taca Exp $
DISTNAME= mkvtoolnix-5.0.1
PKGREVISION= 27
@@ -11,6 +11,8 @@ HOMEPAGE= http://www.bunkus.org/videotools/mkvtoolnix/
COMMENT= Set of tools to create, alter and inspect Matroska files
LICENSE= gnu-gpl-v2
+BUILD_DEPENDS+= ${RUBY_BASE}>=${RUBY_VERSION}:${RUBY_SRCDIR}
+
USE_LANGUAGES= c c++
USE_PKGLOCALEDIR= yes
USE_TOOLS+= gmake msgfmt
@@ -27,10 +29,6 @@ LDFLAGS.SunOS+= -lintl
INSTALL_ENV+= SHELL=${SH:Q}
-.include "../../lang/ruby/rubyversion.mk"
-
-BUILD_DEPENDS+= ${RUBY_PKGPREFIX}-rake>=0.8.7:../../devel/ruby-rake
-
.if !empty(MAKE_JOBS)
DRAKE_ARGS= -j${MAKE_JOBS}
.else
@@ -45,6 +43,7 @@ do-install:
.include "options.mk"
+.include "../../lang/ruby/rubyversion.mk"
.include "../../archivers/bzip2/buildlink3.mk"
.include "../../archivers/lzo/buildlink3.mk"
.include "../../audio/flac/buildlink3.mk"