aboutsummaryrefslogtreecommitdiffstats
path: root/chinese
diff options
context:
space:
mode:
authormadpilot <madpilot@FreeBSD.org>2013-09-27 23:17:26 +0800
committermadpilot <madpilot@FreeBSD.org>2013-09-27 23:17:26 +0800
commitd56efc9c221a1d842e2d94bc4a974a384e0c812c (patch)
treef3f7b9324d9c9494194594bd3988fec89115e7cc /chinese
parent9a6adb833338ef239eaf48652caa0d7c8dadf82d (diff)
downloadfreebsd-ports-gnome-d56efc9c221a1d842e2d94bc4a974a384e0c812c.tar.gz
freebsd-ports-gnome-d56efc9c221a1d842e2d94bc4a974a384e0c812c.tar.zst
freebsd-ports-gnome-d56efc9c221a1d842e2d94bc4a974a384e0c812c.zip
Import a bunch of iconv fixes.
Submitted by: marino Approved by: portmgr (bapt, implicit)
Diffstat (limited to 'chinese')
-rw-r--r--chinese/fcitx/Makefile3
-rw-r--r--chinese/sunpinyin/Makefile3
2 files changed, 4 insertions, 2 deletions
diff --git a/chinese/fcitx/Makefile b/chinese/fcitx/Makefile
index 5289a18dee10..99a548a5db04 100644
--- a/chinese/fcitx/Makefile
+++ b/chinese/fcitx/Makefile
@@ -33,8 +33,9 @@ USE_XZ= yes
USE_GNOME= pango intltool libxml2 introspection
USE_XORG= x11 xext xkbfile
USE_LDCONFIG= yes
-USES= cmake gettext pathfix pkgconfig
+USES= cmake gettext iconv pathfix pkgconfig
INSTALLS_ICONS= yes
+DFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB}
OPTIONS_DEFINE= GTK2 GTK3 QT4 OPENCC TPUNC
OPTIONS_DEFAULT=GTK2
diff --git a/chinese/sunpinyin/Makefile b/chinese/sunpinyin/Makefile
index 64e0c1c13f90..752088ffeb8c 100644
--- a/chinese/sunpinyin/Makefile
+++ b/chinese/sunpinyin/Makefile
@@ -23,7 +23,8 @@ USE_XZ= yes
USE_SCONS= yes
SCONS_ARGS+= --prefix=${PREFIX} --libdatadir=${PREFIX}/share
USE_LDCONFIG= yes
-USES= gmake pkgconfig
+USES= gmake iconv pkgconfig
+LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB}
NO_STAGE= yes
post-patch: