aboutsummaryrefslogtreecommitdiffstats
path: root/korean
diff options
context:
space:
mode:
authorperky <perky@FreeBSD.org>2003-08-20 15:17:45 +0800
committerperky <perky@FreeBSD.org>2003-08-20 15:17:45 +0800
commit01c8c81d452b7dc9ee2b5438c6f6fa82655605f8 (patch)
tree7e098b4d876b075bf746ff32ad61c2bc2a570015 /korean
parent3b86b65ba282f058ea0c6cf0babc735b37acbf36 (diff)
downloadfreebsd-ports-gnome-01c8c81d452b7dc9ee2b5438c6f6fa82655605f8.tar.gz
freebsd-ports-gnome-01c8c81d452b7dc9ee2b5438c6f6fa82655605f8.tar.zst
freebsd-ports-gnome-01c8c81d452b7dc9ee2b5438c6f6fa82655605f8.zip
Fix build on -STABLE
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>