From e7adaf2a02a4c7dd3c11ed93a4cf6bfb5241fae1 Mon Sep 17 00:00:00 2001 From: Akinori MUSHA Date: Sat, 21 Sep 2002 07:11:33 +0000 Subject: Define USE_RUBY_FEATURES instead of hardcoding conditional *_DEPENDS. --- textproc/ruby-xmlscan-old/Makefile | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'textproc/ruby-xmlscan-old') diff --git a/textproc/ruby-xmlscan-old/Makefile b/textproc/ruby-xmlscan-old/Makefile index 5ed1ec80747e..934ebb633d8d 100644 --- a/textproc/ruby-xmlscan-old/Makefile +++ b/textproc/ruby-xmlscan-old/Makefile @@ -17,12 +17,7 @@ MAINTAINER= knu@FreeBSD.org BUILD_DEPENDS= racc:${PORTSDIR}/devel/ruby-racc USE_RUBY= yes - -.include - -.if ${RUBY_VER} < 1.7 -RUN_DEPENDS+= ${RUBY_SITELIBDIR}/racc/parser.rb:${PORTSDIR}/lang/ruby16-shim-ruby18 -.endif +USE_RUBY_FEATURES= racc-runtime do-build: cd ${WRKSRC}; racc -v -g -c -o xmldtd.rb xmldtd.ry @@ -34,4 +29,4 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/README ${RUBY_DOCDIR}/${PORTNAME}/ja/ .endif -.include +.include -- cgit v1.2.3