diff options
Diffstat (limited to 'chinese/miniChinput/Makefile')
-rw-r--r-- | chinese/miniChinput/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chinese/miniChinput/Makefile b/chinese/miniChinput/Makefile index 16e845c4f124..5f1442a9aabf 100644 --- a/chinese/miniChinput/Makefile +++ b/chinese/miniChinput/Makefile @@ -15,6 +15,7 @@ MAINTAINER= ports@FreeBSD.org COMMENT= A tiny version of Chinput GNU_CONFIGURE= yes +CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib USE_GMAKE= yes USE_ICONV= yes USE_XORG= x11 xt @@ -33,6 +34,10 @@ BROKEN= Build fails on sparc64 post-patch: @${REINPLACE_CMD} -e 's,make,${GMAKE},g' ${WRKSRC}/src/Makefile.in @echo "install:" >> ${WRKSRC}/src/IMdkit/Makefile + @${REINPLACE_CMD} 's,^CFLAGS =,CFLAGS +=,' ${WRKSRC}/ImmModules/cce/Makefile.in \ + ${WRKSRC}/ImmModules/turbo/Makefile.in \ + ${WRKSRC}/src/server/Makefile.in \ + ${WRKSRC}/src/client/Makefile.in @${REINPLACE_CMD} -e 's#$$(prefix)$$(imdir)/{gb,gbk,big5}#$$(prefix)$$(imdir)/gb $$(prefix)$$(imdir)/gbk $$(prefix)$$(imdir)/big5#g' ${WRKSRC}/ImmModules/turbo/Makefile.in @${REINPLACE_CMD} -e 's,-@PACKAGE_VERSION@,,g' ${WRKSRC}/doc/Makefile.in @${REINPLACE_CMD} -e 's,/share/man,/man,g' ${WRKSRC}/configure |