summaryrefslogtreecommitdiff
path: root/chinese
diff options
context:
space:
mode:
Diffstat (limited to 'chinese')
-rw-r--r--chinese/xsim/Makefile8
-rw-r--r--chinese/zhcon/Makefile8
2 files changed, 14 insertions, 2 deletions
diff --git a/chinese/xsim/Makefile b/chinese/xsim/Makefile
index 65f0065a589d..20eb920c1c7f 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 ${OSVERSION} >= 501000
+BROKEN= "Does not compile"
+.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>
diff --git a/chinese/zhcon/Makefile b/chinese/zhcon/Makefile
index a3dc93650584..8309b082aba0 100644
--- a/chinese/zhcon/Makefile
+++ b/chinese/zhcon/Makefile
@@ -27,4 +27,10 @@ ONLY_FOR_ARCHS= i386
MAN1= zhcon.1
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 501000
+BROKEN= "Does not compile"
+.endif
+
+.include <bsd.port.post.mk>