ports/162269: [PATCH] www/tdiary: runtime dependency iconv is missing.

Yoshisato YANAGISAWA osho at pcc-software.org
Thu Nov 3 11:40:09 UTC 2011

>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
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 03 11:40:07 UTC 2011
>Originator:     Yoshisato YANAGISAWA
>Release:        FreeBSD 8.2-RELEASE-p4 amd64
System: FreeBSD nozomi.pcc-software.org 8.2-RELEASE-p4 FreeBSD 8.2-RELEASE-p4 #15: Sat Oct  8 09:04:40 JST
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 at FreeBSD.org) is cc'd.

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

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 ---


More information about the freebsd-ports-bugs mailing list