summaryrefslogtreecommitdiff
path: root/korean/han/Makefile
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2004-09-18 18:47:46 +0000
committerKris Kennaway <kris@FreeBSD.org>2004-09-18 18:47:46 +0000
commit7a6f05bb7a8bb1b61be9d31f94f2221a0c91e600 (patch)
tree2b79da66f460b2ce052979250e49c8865277ad58 /korean/han/Makefile
parentBROKEN: Conflicting dependencies (linux_base 7.x and 8.x) (diff)
BROKEN on 5.x: Does not compile
Approved by: portmgr (self)
Diffstat (limited to '')
-rw-r--r--korean/han/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/korean/han/Makefile b/korean/han/Makefile
index 9294d0103e1b..fcc10702c6f8 100644
--- a/korean/han/Makefile
+++ b/korean/han/Makefile
@@ -19,6 +19,12 @@ ONLY_FOR_ARCHS= i386
USE_GMAKE= YES
USE_REINPLACE= yes
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile on FreeBSD >= 5.x"
+.endif
+
pre-patch:
@${REINPLACE_CMD} -e 's,<malloc.h>,<stdlib.h>,' \
${WRKSRC}/src/vt.c ${WRKSRC}/lib/mem.c
@@ -33,4 +39,4 @@ post-configure:
-e 's%%DISTDIR%%${DISTDIR}' \
${FILESDIR}/han.sh > ${WRKSRC}/han.sh
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>