Now Ruby 1.7 has fnmatch out-of-the-box.

This commit is contained in:
Akinori MUSHA 2001-06-21 16:45:20 +00:00
parent e4831fc4be
commit 61575cdfa9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=44286
4 changed files with 12 additions and 4 deletions

View file

@ -7,7 +7,6 @@
PORTNAME= ruby_static
PORTVERSION= ${RUBY_PORTVERSION}
PORTREVISION= 1
CATEGORIES= lang ruby ipv6
MASTER_SITES= # none
DISTFILES= # none
@ -24,11 +23,14 @@ USE_AUTOCONF= yes
# which means you can't link such modules as ruby-gdbm within.
EXT_PORTS= archivers/ruby-zlib \
devel/ruby-strscan \
devel/ruby-fnmatch \
sysutils/ruby-syslog
_PORTSDIR= ${.CURDIR}/../..
_RUBY_PORTDIR= ${_PORTSDIR}/${RUBY_PORT}
.if !defined(HAVE_FNMATCH)
EXT_PORTS+= devel/ruby-fnmatch
.endif
.for p in ${EXT_PORTS}
BUILD_DEPENDS+= ${NONEXISTENT}:${_PORTSDIR}/${p}:patch
.endfor

View file

@ -9,4 +9,6 @@ MASTERDIR= ${.CURDIR}/../ruby_static
RUBY_VER= 1.7
HAVE_FNMATCH= yes
.include "${MASTERDIR}/Makefile"

View file

@ -9,4 +9,6 @@ MASTERDIR= ${.CURDIR}/../ruby_static
RUBY_VER= 1.7
HAVE_FNMATCH= yes
.include "${MASTERDIR}/Makefile"

View file

@ -7,7 +7,6 @@
PORTNAME= ruby_static
PORTVERSION= ${RUBY_PORTVERSION}
PORTREVISION= 1
CATEGORIES= lang ruby ipv6
MASTER_SITES= # none
DISTFILES= # none
@ -24,11 +23,14 @@ USE_AUTOCONF= yes
# which means you can't link such modules as ruby-gdbm within.
EXT_PORTS= archivers/ruby-zlib \
devel/ruby-strscan \
devel/ruby-fnmatch \
sysutils/ruby-syslog
_PORTSDIR= ${.CURDIR}/../..
_RUBY_PORTDIR= ${_PORTSDIR}/${RUBY_PORT}
.if !defined(HAVE_FNMATCH)
EXT_PORTS+= devel/ruby-fnmatch
.endif
.for p in ${EXT_PORTS}
BUILD_DEPENDS+= ${NONEXISTENT}:${_PORTSDIR}/${p}:patch
.endfor