diff options
Diffstat (limited to 'chinese/xsim/Makefile')
-rw-r--r-- | chinese/xsim/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/chinese/xsim/Makefile b/chinese/xsim/Makefile index 587edc074928..3e3ccdf76449 100644 --- a/chinese/xsim/Makefile +++ b/chinese/xsim/Makefile @@ -23,6 +23,12 @@ USE_XLIB= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-cn-locale=EUC +.include <bsd.port.pre.mk> + +.if ${ARCH} == "amd64" || ${ARCH} == "ia64" +BROKEN= "Does not compile on amd64 or ia64 (missing -fPIC)" +.endif + post-patch: @${REINPLACE_CMD} -e 's,<malloc.h>,<stdlib.h>,' \ ${WRKSRC}/xsim/IMdkit/IMConn.c @@ -35,4 +41,4 @@ post-install: @${CP} -R ${WRKDIR}/usr/local/xsim/dat/* ${DATADIR}/dat @${SED} -e 's,%%X11BASE%%,${X11BASE},g' < ${PKGMESSAGE} -.include <bsd.port.mk> +.include <bsd.port.post.mk> |