From 3417b89e3048c6590b8575dd0cda226d4e48037c Mon Sep 17 00:00:00 2001 From: Akinori MUSHA Date: Sun, 9 Jun 2002 04:33:36 +0000 Subject: devel/ruby-racc-runtime has been replaced with lang/ruby16-shim-ruby18. Reported by: make index --- mail/ruby-tmail/Makefile | 10 +++++++--- mail/rubygem-tmail/Makefile | 10 +++++++--- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/mail/ruby-tmail/Makefile b/mail/ruby-tmail/Makefile index dc98c681175b..5de2f6a1dfcd 100644 --- a/mail/ruby-tmail/Makefile +++ b/mail/ruby-tmail/Makefile @@ -17,8 +17,6 @@ DIST_SUBDIR= ruby MAINTAINER= knu@FreeBSD.org -RUN_DEPENDS= ${RUBY_SITELIBDIR}/racc/parser.rb:${PORTSDIR}/devel/ruby-racc-runtime - USE_RUBY= yes USE_RUBY_SETUP= yes @@ -26,6 +24,12 @@ CONFIGURE_ARGS= --with=tmail WRKDIR_TMAIL= ${WRKSRC}/packages/tmail +.include + +.if ${RUBY_VER} < 1.7 +RUN_DEPENDS+= ${RUBY_SITELIBDIR}/racc/parser.rb:${PORTSDIR}/lang/ruby16-shim-ruby18 +.endif + do-install: .if !defined(NOPORTDOCS) ${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME} @@ -35,4 +39,4 @@ do-install: ${CP} -R ${WRKDIR_TMAIL}/Incompatibilities.ja ${WRKDIR_TMAIL}/README.ja ${WRKDIR_TMAIL}/doc.ja/* ${RUBY_DOCDIR}/${PORTNAME}/ja/ .endif -.include +.include diff --git a/mail/rubygem-tmail/Makefile b/mail/rubygem-tmail/Makefile index dc98c681175b..5de2f6a1dfcd 100644 --- a/mail/rubygem-tmail/Makefile +++ b/mail/rubygem-tmail/Makefile @@ -17,8 +17,6 @@ DIST_SUBDIR= ruby MAINTAINER= knu@FreeBSD.org -RUN_DEPENDS= ${RUBY_SITELIBDIR}/racc/parser.rb:${PORTSDIR}/devel/ruby-racc-runtime - USE_RUBY= yes USE_RUBY_SETUP= yes @@ -26,6 +24,12 @@ CONFIGURE_ARGS= --with=tmail WRKDIR_TMAIL= ${WRKSRC}/packages/tmail +.include + +.if ${RUBY_VER} < 1.7 +RUN_DEPENDS+= ${RUBY_SITELIBDIR}/racc/parser.rb:${PORTSDIR}/lang/ruby16-shim-ruby18 +.endif + do-install: .if !defined(NOPORTDOCS) ${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME} @@ -35,4 +39,4 @@ do-install: ${CP} -R ${WRKDIR_TMAIL}/Incompatibilities.ja ${WRKDIR_TMAIL}/README.ja ${WRKDIR_TMAIL}/doc.ja/* ${RUBY_DOCDIR}/${PORTNAME}/ja/ .endif -.include +.include -- cgit v1.2.3