aboutsummaryrefslogtreecommitdiffstats
path: root/lang/ruby_static
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-06-22 00:45:20 +0800
committerknu <knu@FreeBSD.org>2001-06-22 00:45:20 +0800
commitc80edf93c320caf68b0541604ddd6dffa4575d87 (patch)
tree9d07d30fbee814dda980b0750e529719064f8f91 /lang/ruby_static
parente4ba5cddd130b620ead11cdada7850e5eb306b6b (diff)
downloadfreebsd-ports-gnome-c80edf93c320caf68b0541604ddd6dffa4575d87.tar.gz
freebsd-ports-gnome-c80edf93c320caf68b0541604ddd6dffa4575d87.tar.zst
freebsd-ports-gnome-c80edf93c320caf68b0541604ddd6dffa4575d87.zip
Now Ruby 1.7 has fnmatch out-of-the-box.
Diffstat (limited to 'lang/ruby_static')
-rw-r--r--lang/ruby_static/Makefile6
1 files changed, 4 insertions, 2 deletions
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