diff options
Diffstat (limited to 'chinese')
-rw-r--r-- | chinese/docproj/Makefile | 4 | ||||
-rw-r--r-- | chinese/oto/Makefile | 2 | ||||
-rw-r--r-- | chinese/oxim/Makefile | 2 |
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} \ |