aboutsummaryrefslogtreecommitdiff
path: root/chinese
diff options
context:
space:
mode:
authorGuido Falsi <madpilot@FreeBSD.org>2013-09-04 18:06:07 +0000
committerGuido Falsi <madpilot@FreeBSD.org>2013-09-04 18:06:07 +0000
commit642be1b81d8342d3a3323f43bcf5a0bd87a5d363 (patch)
treef71b3671c7729b9cbc9368cea2f2fede7b20d5c8 /chinese
parentbcaced2c93b58d27ca266602f4049df6ba6becb3 (diff)
downloadports-642be1b81d8342d3a3323f43bcf5a0bd87a5d363.tar.gz
ports-642be1b81d8342d3a3323f43bcf5a0bd87a5d363.zip
Notes
Diffstat (limited to 'chinese')
-rw-r--r--chinese/docproj/Makefile4
-rw-r--r--chinese/oto/Makefile2
-rw-r--r--chinese/oxim/Makefile2
3 files changed, 6 insertions, 2 deletions
diff --git a/chinese/docproj/Makefile b/chinese/docproj/Makefile
index dc2fc66811c1..d729cb13c3d0 100644
--- a/chinese/docproj/Makefile
+++ b/chinese/docproj/Makefile
@@ -34,4 +34,8 @@ do-fetch:
pre-patch:
@${CP} -R ${SRC} ${WRKDIR}
+post-patch:
+ @${REINPLACE_CMD} -e 's/-liconv/${ICONV_LIB}/' \
+ ${WRKSRC}/cjktexsty/Makefile
+
.include <bsd.port.mk>
diff --git a/chinese/oto/Makefile b/chinese/oto/Makefile
index a1a6bed0eb41..4a342fd2aab5 100644
--- a/chinese/oto/Makefile
+++ b/chinese/oto/Makefile
@@ -17,7 +17,7 @@ USES= iconv
GNU_CONFIGURE= YES
USE_GMAKE= YES
CPPFLAGS+= -I${LOCALBASE}/include
-CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib -liconv"
+CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib ${ICONV_LIB}"
post-patch:
@${FIND} ${WRKSRC}/src/ -type f -print0 | \
diff --git a/chinese/oxim/Makefile b/chinese/oxim/Makefile
index 89926944fce4..05a09d7abdff 100644
--- a/chinese/oxim/Makefile
+++ b/chinese/oxim/Makefile
@@ -26,7 +26,7 @@ WANT_GNOME= yes
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib -liconv
+LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB}
CONFIGURE_ARGS+=--disable-bimsphone-module \
--disable-static \
--with-conf-dir=${PREFIX}/etc/${PORTNAME} \