Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Nov 2011 18:46:15 +0900 (JST)
From:      Yoshisato YANAGISAWA <osho@pcc-software.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        tota@FreeBSD.org
Subject:   ports/162269: [PATCH] www/tdiary: runtime dependency iconv is missing.
Message-ID:  <201111030946.pA39kFgM038462@nozomi.pcc-software.org>
Resent-Message-ID: <201111031140.pA3Be7wd021130@freefall.freebsd.org>

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

>Number:         162269
>Category:       ports
>Synopsis:       [PATCH] www/tdiary: runtime dependency iconv is missing.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 03 11:40:07 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Yoshisato YANAGISAWA
>Release:        FreeBSD 8.2-RELEASE-p4 amd64
>Organization:
>Environment:
System: FreeBSD nozomi.pcc-software.org 8.2-RELEASE-p4 FreeBSD 8.2-RELEASE-p4 #15: Sat Oct  8 09:04:40 JST
>Description:
When I updated tDiary using the port, I saw "no such file to load -- iconv"
instead of the top page I usually see.  Since FreeBSD's ruby port is not
including iconv, which is included in the regular ruby tarball, we should
install it by ourselves from converters/ruby-iconv.
After I installed the ruby-iconv package, the problem above is fixed.

I request the port Makefile to show the runtime dependency to the iconv package
as I have written in the following patch.

Port maintainer (tota@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
Uninstall converters/ruby-iconv if installed, and you will see the error
message when you connect to the tdiary web page.

>Fix:
Show runtime dependency:

--- tdiary-3.1.1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/www/tdiary/Makefile /home/osho/tdiary/Makefile
--- /usr/ports/www/tdiary/Makefile	2011-10-30 01:09:56.000000000 +0900
+++ /home/osho/tdiary/Makefile	2011-11-03 18:19:07.458511000 +0900
@@ -20,7 +20,8 @@
 
 RUN_DEPENDS=	hikidoc:${PORTSDIR}/textproc/ruby-hikidoc \
 		rubygem-imagesize>=0.1.1:${PORTSDIR}/graphics/rubygem-imagesize \
-		rubygem-json_pure>=1.6.1:${PORTSDIR}/devel/rubygem-json_pure
+		rubygem-json_pure>=1.6.1:${PORTSDIR}/devel/rubygem-json_pure \
+		${RUBY_ARCHLIBDIR}/iconv.so:${PORTSDIR}/converters/ruby-iconv
 
 NO_BUILD=	yes
 USE_RUBY=	yes
--- tdiary-3.1.1.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?201111030946.pA39kFgM038462>