svn commit: r313578 - head/ports-mgmt/portupgrade-devel

Bryan Drewery bdrewery at FreeBSD.org
Thu Mar 7 12:06:55 UTC 2013


Author: bdrewery
Date: Thu Mar  7 12:06:54 2013
New Revision: 313578
URL: http://svnweb.freebsd.org/changeset/ports/313578

Log:
  - Fix missing dependency on devel/ruby-date2 when using Ruby 1.9
    for date parsing

Modified:
  head/ports-mgmt/portupgrade-devel/Makefile

Modified: head/ports-mgmt/portupgrade-devel/Makefile
==============================================================================
--- head/ports-mgmt/portupgrade-devel/Makefile	Thu Mar  7 11:54:19 2013	(r313577)
+++ head/ports-mgmt/portupgrade-devel/Makefile	Thu Mar  7 12:06:54 2013	(r313578)
@@ -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=""


More information about the svn-ports-all mailing list