summaryrefslogtreecommitdiff
path: root/lang/ruby16_static/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/ruby16_static/Makefile')
-rw-r--r--lang/ruby16_static/Makefile6
1 files changed, 4 insertions, 2 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