aboutsummaryrefslogtreecommitdiff
path: root/chinese
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2003-10-16 01:31:58 +0000
committerKris Kennaway <kris@FreeBSD.org>2003-10-16 01:31:58 +0000
commitefd3830f38faa0eca31dabfbd2ce708b6c45263a (patch)
tree21a9b604b8e8633c1a971091f247a7384581af5e /chinese
parentee35d188a209aa8ccacf3f483fb7c0bd1d5e84c2 (diff)
downloadports-efd3830f38faa0eca31dabfbd2ce708b6c45263a.tar.gz
ports-efd3830f38faa0eca31dabfbd2ce708b6c45263a.zip
Notes
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>