Bug 171705 - [MAINTAINER] www/gist: add converters/ruby-iconv dependency for RUBY_VER < 1.9
Summary: [MAINTAINER] www/gist: add converters/ruby-iconv dependency for RUBY_VER < 1.9
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ruby (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-17 13:00 UTC by changlp
Modified: 2013-06-23 04:40 UTC (History)
0 users

See Also:


Attachments
gist-3.1.0_3.patch (731 bytes, patch)
2012-09-17 13:00 UTC, changlp
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description changlp 2012-09-17 13:00:26 UTC
- gist uses iconv for JSON encoding conversion since 3.1.0,

  so converters/ruby-iconv should be added as a dependency for RUBY_VER < 1.9

  (thanks lwhsu@ for reporting)

Generated with FreeBSD Port Tools 0.99
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-09-17 13:00:56 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ruby

ruby@ wants this port PRs (via the GNATS Auto Assign Tool)
Comment 2 Steve Wills freebsd_committer freebsd_triage 2013-06-23 04:35:51 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 3 dfilter service freebsd_committer freebsd_triage 2013-06-23 04:36:52 UTC
Author: swills
Date: Sun Jun 23 03:35:42 2013
New Revision: 321609
URL: http://svnweb.freebsd.org/changeset/ports/321609

Log:
  - Add converters/ruby-iconv dependency for RUBY_VER < 1.9
  
  PR:		ports/171705
  Submitted by:	Lung-Pin Chang <changlp@cs.nctu.edu.tw> (maintainer)

Modified:
  head/www/gist/Makefile

Modified: head/www/gist/Makefile
==============================================================================
--- head/www/gist/Makefile	Sun Jun 23 03:33:41 2013	(r321608)
+++ head/www/gist/Makefile	Sun Jun 23 03:35:42 2013	(r321609)
@@ -7,7 +7,7 @@
 
 PORTNAME=	gist
 PORTVERSION=	3.1.0
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	www net
 
 MAINTAINER=	changlp@cs.nctu.edu.tw
@@ -26,8 +26,14 @@ USE_RUBY=	YES
 NO_BUILD=	YES
 PLIST_FILES=	bin/gist
 
+.include <bsd.port.pre.mk>
+
+.if ${RUBY_VER} < 1.9
+RUN_DEPENDS+=	${DEPEND_RUBY_ICONV}
+.endif
+
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/gist ${PREFIX}/bin/gist
 	${INSTALL_MAN} ${WRKSRC}/man/gist.1 ${MAN1PREFIX}/man/man1
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"