- Pass correct CPPFLAGS and LDFLAGS to configure for libiconv and libintl.

- Add an incorrect g_free function call. [1]

Submitted by:	Choe Hwanjin <krisna@kldp.org> [1]
This commit is contained in:
Hye-Shik Chang 2003-08-06 04:29:46 +00:00
parent 67c5255546
commit 152ef2d774
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=86362

View File

@ -7,6 +7,7 @@
PORTNAME= nabi
PORTVERSION= 0.1
PORTREVISION= 1
CATEGORIES= korean gnome x11
MASTER_SITES= http://download.kldp.net/imhangul/
@ -18,12 +19,11 @@ USE_GMAKE= yes
USE_GNOME= gnomeprefix gnomehack gnomepanel
USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include" LIBS="-L${X11BASE}/lib"
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LIBS="-L${LOCALBASE}/lib"
post-patch:
${REINPLACE_CMD} -e 's,#include <malloc.h>,,' ${WRKSRC}/IMdkit/IMConn.c
post-install:
cd ${WRKSRC}/po && ${MAKE} install-data-yes
${REINPLACE_CMD} -e '641s,g_free(keyboard_map->map);,,' \
${WRKSRC}/src/ui.c
.include <bsd.port.mk>