* Change RUBY_VERSION_SUFFIX to RUBY_VERSION_FULL.

* Remove workaround for version.h.
This commit is contained in:
taca 2011-11-08 15:20:36 +00:00
parent 438a6463bc
commit 8498017980
3 changed files with 6 additions and 7 deletions

View file

@ -16,4 +16,4 @@ Features of Ruby are shown below.
+ Highly Portable (works on many UNIX machines, and on DOS,
Windows, Mac, BeOS etc.)
This package is Ruby 1.8 based release.
This package is Ruby 1.8.7 release minimum base package.

View file

@ -1,9 +1,9 @@
===========================================================================
$NetBSD: MESSAGE,v 1.5 2006/09/07 15:40:00 taca Exp $
$NetBSD: MESSAGE,v 1.6 2011/11/08 15:20:36 taca Exp $
Note that this is a minimal package.
The original Ruby ${RUBY_VERSION} distribution includes more extension
The original ${RUBY_DISTNAME} distribution includes more extension
libraries, some of which are provided as separate packages:
databases/ruby-gdbm: GDBM module

View file

@ -1,8 +1,8 @@
# $NetBSD: Makefile,v 1.65 2011/10/21 05:24:13 obache Exp $
# $NetBSD: Makefile,v 1.66 2011/11/08 15:20:36 taca Exp $
#
DISTNAME= ${RUBY_DISTNAME}
PKGNAME= ${RUBY_PKGPREFIX}-base-${RUBY_VERSION_SUFFIX}
PKGNAME= ${RUBY_PKGPREFIX}-base-${RUBY_VERSION_FULL}
CATEGORIES= lang ruby
MASTER_SITES= ${MASTER_SITE_RUBY}
@ -11,7 +11,7 @@ HOMEPAGE= ${RUBY_HOMEPAGE}
COMMENT= Ruby 1.8 based release minimum package
LICENSE= gnu-gpl-v2 OR ruby-license
RUBY_VERSION= ${RUBY18_VERSION}
RUBY_VERSION_SUPPORTED= 18
CONFLICTS= ${RUBY_PKGPREFIX}-dbm-[0-9]* \
${RUBY_PKGPREFIX}-digest-[0-9]* \
@ -112,7 +112,6 @@ FIX_PERM= ${RUBY_ARCHLIB}/digest.h ${RUBY_ARCHLIB}/dl.h \
${RUBY_ARCHLIB}/dlconfig.h
pre-configure:
${ECHO} >> ${WRKSRC}/version.h # workaround for no EOL.
${RM} -f ${WRKSRC}/ext/curses/extconf.rb
${RM} -f ${WRKSRC}/ext/gdbm/extconf.rb
${RM} -f ${WRKSRC}/ext/readline/extconf.rb