Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Sep 2012 19:51:20 +0800 (CST)
From:      Lung-Pin Chang <changlp@cs.nctu.edu.tw>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/171705: [MAINTAINER] www/gist: add converters/ruby-iconv dependency for RUBY_VER < 1.9
Message-ID:  <20120917115120.D187C9B458@Archon.iamben.csie.net>
Resent-Message-ID: <201209171200.q8HC0TAP016865@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         171705
>Category:       ports
>Synopsis:       [MAINTAINER] www/gist: add converters/ruby-iconv dependency for RUBY_VER < 1.9
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 17 12:00:26 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Lung-Pin Chang
>Release:        FreeBSD 9.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD Archon.iamben.csie.net 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:46:30 UTC
>Description:
- 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
>How-To-Repeat:
>Fix:

--- gist-3.1.0_3.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/www/gist/Makefile /home/iamben/tmp/ports/www/gist/Makefile
--- /usr/ports/www/gist/Makefile	2012-08-22 10:38:17.000000000 +0800
+++ /home/iamben/tmp/ports/www/gist/Makefile	2012-09-17 19:32:24.608873628 +0800
@@ -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 @@
 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>
--- gist-3.1.0_3.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120917115120.D187C9B458>