summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-06-21 16:45:20 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-06-21 16:45:20 +0000
commit61575cdfa9a8da12515cbf974c6b56f24a9b9eb7 (patch)
tree2c8f42ff8c14b391b099c63ba59a931534aa4c57 /lang
parentUpdate lang/ruby and lang/ruby-devel to the latest snapshots. (diff)
Now Ruby 1.7 has fnmatch out-of-the-box.
Notes
Notes: svn path=/head/; revision=44286
Diffstat (limited to 'lang')
-rw-r--r--lang/ruby16_static/Makefile6
-rw-r--r--lang/ruby18_static/Makefile2
-rw-r--r--lang/ruby_static-devel/Makefile2
-rw-r--r--lang/ruby_static/Makefile6
4 files changed, 12 insertions, 4 deletions
diff --git a/lang/ruby16_static/Makefile b/lang/ruby16_static/Makefile
index a0399bb1320e..c5467346d8f2 100644
--- a/lang/ruby16_static/Makefile
+++ b/lang/ruby16_static/Makefile
@@ -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
diff --git a/lang/ruby18_static/Makefile b/lang/ruby18_static/Makefile
index 3e317cb387fe..e020a9fefdbe 100644
--- a/lang/ruby18_static/Makefile
+++ b/lang/ruby18_static/Makefile
@@ -9,4 +9,6 @@ MASTERDIR= ${.CURDIR}/../ruby_static
RUBY_VER= 1.7
+HAVE_FNMATCH= yes
+
.include "${MASTERDIR}/Makefile"
diff --git a/lang/ruby_static-devel/Makefile b/lang/ruby_static-devel/Makefile
index 3e317cb387fe..e020a9fefdbe 100644
--- a/lang/ruby_static-devel/Makefile
+++ b/lang/ruby_static-devel/Makefile
@@ -9,4 +9,6 @@ MASTERDIR= ${.CURDIR}/../ruby_static
RUBY_VER= 1.7
+HAVE_FNMATCH= yes
+
.include "${MASTERDIR}/Makefile"
diff --git a/lang/ruby_static/Makefile b/lang/ruby_static/Makefile
index a0399bb1320e..c5467346d8f2 100644
--- a/lang/ruby_static/Makefile
+++ b/lang/ruby_static/Makefile
@@ -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