svn commit: r452552 - head/textproc/goldendict

Boris Samorodov bsam at FreeBSD.org
Fri Oct 20 20:16:58 UTC 2017


Author: bsam
Date: Fri Oct 20 20:16:57 2017
New Revision: 452552
URL: https://svnweb.freebsd.org/changeset/ports/452552

Log:
  textproc/goldendict: Fix iconv wchar_t initialization error.
  
  From the original e-mail:
  Goldendict still uses internal libiconv and can't to load dictionaries
  that require use of iconv with WCHAR_T producing "Can't initialize
  iconv conversion: Invalid argument". The patch based on the example
  6.17 of porter's handbook solves the problem.
  
  Submitted by:	Art Kamog <ia.kamog at yandex.ru> (via e-mail)

Modified:
  head/textproc/goldendict/Makefile

Modified: head/textproc/goldendict/Makefile
==============================================================================
--- head/textproc/goldendict/Makefile	Fri Oct 20 18:45:55 2017	(r452551)
+++ head/textproc/goldendict/Makefile	Fri Oct 20 20:16:57 2017	(r452552)
@@ -3,7 +3,7 @@
 
 PORTNAME=	goldendict
 PORTVERSION=	1.0.1
-PORTREVISION=	10
+PORTREVISION=	11
 CATEGORIES=	textproc
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTVERSION:C|(.*)\.[0-9]*$|\1|}/
 DISTNAME=	${PORTNAME}-${PORTVERSION}-src
@@ -17,11 +17,12 @@ LIB_DEPENDS=	libhunspell-1.6.so:textproc/hunspell \
 		libvorbis.so:audio/libvorbis
 
 NO_WRKSUBDIR=	yes
-USES=		dos2unix iconv pkgconfig qmake tar:bzip2
+USES=		dos2unix iconv:wchar_t pkgconfig qmake tar:bzip2
 DOS2UNIX_FILES=	processwrapper.cc
 USE_XORG=	xtst
 USE_QT4=	corelib gui webkit phonon \
 		linguist_build moc_build rcc_build script_build uic_build
+LDFLAGS+=	-L${LOCALBASE}/lib ${ICONV_LIB}
 INSTALLS_ICONS=	yes
 
 post-patch:


More information about the svn-ports-all mailing list