diff options
author | knu <knu@FreeBSD.org> | 2001-06-22 00:45:20 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2001-06-22 00:45:20 +0800 |
commit | c80edf93c320caf68b0541604ddd6dffa4575d87 (patch) | |
tree | 9d07d30fbee814dda980b0750e529719064f8f91 /lang | |
parent | e4ba5cddd130b620ead11cdada7850e5eb306b6b (diff) | |
download | freebsd-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')
-rw-r--r-- | lang/ruby16_static/Makefile | 6 | ||||
-rw-r--r-- | lang/ruby18_static/Makefile | 2 | ||||
-rw-r--r-- | lang/ruby_static-devel/Makefile | 2 | ||||
-rw-r--r-- | lang/ruby_static/Makefile | 6 |
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 |