Index: Makefile =================================================================== RCS file: /home/pcvs/ports/chinese/chinput3/Makefile,v retrieving revision 1.14 diff -u -u -r1.14 Makefile --- Makefile 23 May 2004 10:08:49 -0000 1.14 +++ Makefile 21 Sep 2004 18:27:22 -0000 @@ -32,6 +32,12 @@ BROKEN= "Does not compile on amd64 (needs -fPIC)" .endif +post-patch: + @${REINPLACE_CMD} -e '/extern int ForwardEvent();/d' \ + ${WRKSRC}/src/Chinput-*/src/*.c + @${FIND} ${WRKSRC} -type f | \ + ${XARGS} ${REINPLACE_CMD} -e 's,/usr/local,${PREFIX},g' + pre-build: @${FIND} ${WRKSRC} -name Makefile | ${XARGS} ${REINPLACE_CMD} \ -e 's|-lc_r|${PTHREAD_CFLAGS} ${PTHREAD_LIBS}|'