summaryrefslogtreecommitdiff
path: root/korean
diff options
context:
space:
mode:
authorHye-Shik Chang <perky@FreeBSD.org>2003-08-20 07:17:45 +0000
committerHye-Shik Chang <perky@FreeBSD.org>2003-08-20 07:17:45 +0000
commitdb3b18cf6317ae7fb8edba7fb2c5684b86eddc41 (patch)
treea186e18f9a0aff7305a866590e8c1335f3744eb0 /korean
parentupdate cad/xcircuit: 3.1.15 -> 3.1.18 (diff)
Fix build on -STABLE
Notes
Notes: svn path=/head/; revision=87338
Diffstat (limited to 'korean')
-rw-r--r--korean/nabi/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/korean/nabi/Makefile b/korean/nabi/Makefile
index 2385382ba1ac..7a4f2a81f863 100644
--- a/korean/nabi/Makefile
+++ b/korean/nabi/Makefile
@@ -20,7 +20,12 @@ USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LIBS="-L${LOCALBASE}/lib"
+.include <bsd.port.pre.mk>
+
post-patch:
${REINPLACE_CMD} -e 's,#include <malloc.h>,,' ${WRKSRC}/IMdkit/IMConn.c
+.if ${OSVERSION} < 500028
+ ${ECHO_CMD} "#include <sys/types.h>" > ${WRKSRC}/src/stdint.h
+.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>