diff options
author | bdrewery <bdrewery@FreeBSD.org> | 2013-03-07 20:06:54 +0800 |
---|---|---|
committer | bdrewery <bdrewery@FreeBSD.org> | 2013-03-07 20:06:54 +0800 |
commit | ceb0886f246af509f2d397282d1de63d605b7d25 (patch) | |
tree | 79dc4f3e6b50b0b32c81fee015c74662073969c9 /ports-mgmt | |
parent | afc224ad8c842d07af644bac8f6776911c39f4d3 (diff) | |
download | freebsd-ports-gnome-ceb0886f246af509f2d397282d1de63d605b7d25.tar.gz freebsd-ports-gnome-ceb0886f246af509f2d397282d1de63d605b7d25.tar.zst freebsd-ports-gnome-ceb0886f246af509f2d397282d1de63d605b7d25.zip |
- Fix missing dependency on devel/ruby-date2 when using Ruby 1.9
for date parsing
Diffstat (limited to 'ports-mgmt')
-rw-r--r-- | ports-mgmt/portupgrade-devel/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ports-mgmt/portupgrade-devel/Makefile b/ports-mgmt/portupgrade-devel/Makefile index cf2116c21452..86cc77b31330 100644 --- a/ports-mgmt/portupgrade-devel/Makefile +++ b/ports-mgmt/portupgrade-devel/Makefile @@ -3,6 +3,7 @@ PORTNAME= portupgrade PORTVERSION= 20130303 +PORTREVISION= 1 PORTEPOCH= 3 CATEGORIES= ports-mgmt MASTER_SITES= GH \ @@ -56,6 +57,11 @@ INSTALL_TARGET= install INSTALL_TARGET+= install-doc .endif +# parsedate is needed for date globbing +.if ${RUBY_VER} == 1.9 +RUN_DEPENDS+= ${RUBY_SITELIBDIR}/parsedate.rb:${PORTSDIR}/devel/ruby-date2 +.endif + # Need to install working script(1) .if ${OSVERSION} < 801000 PLIST_SUB+= SCRIPT="" |