Hi,

When I run the command m17n-dump, I get an error:
undefined reference to `libintl_bindtextdomain'

The diff below links with intl correctly, ok?

Index: misc/m17n/lib/Makefile
===================================================================
RCS file: /cvs/ports/misc/m17n/lib/Makefile,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 Makefile
--- misc/m17n/lib/Makefile      28 Mar 2019 02:03:27 -0000      1.2
+++ misc/m17n/lib/Makefile      10 Apr 2019 07:39:50 -0000
@@ -3,6 +3,7 @@
 COMMENT =      multilingual text processing library
 
 DISTNAME =     m17n-lib-${M17N_V}
+REVISION =     0
 
 SHARED_LIBS +=  m17n-core            0.0      # 4.2
 SHARED_LIBS +=  m17n                 0.0      # 4.2
@@ -12,10 +13,11 @@ SHARED_LIBS +=  m17n-gui             0.0
 CATEGORIES =   misc
 
 WANTLIB += ICE SM X11 Xft Xrender Xt anthy anthydic c expat fontconfig
-WANTLIB += freetype fribidi gd iconv jpeg lzma m otf png16 pthread
+WANTLIB += freetype fribidi gd iconv intl jpeg lzma m otf png16 pthread
 WANTLIB += tiff webp xcb xml2 z
 
-LIB_DEPENDS =  devel/libotf \
+LIB_DEPENDS =  devel/gettext \
+               devel/libotf \
                devel/fribidi \
                graphics/gd \
                inputmethods/anthy \
@@ -25,7 +27,7 @@ BUILD_DEPENDS =       textproc/ispell \
                ${RUN_DEPENDS}
 RUN_DEPENDS =  misc/m17n/db=${M17N_V}
 
-CONFIGURE_ENV =        LDFLAGS="-L${LOCALBASE}/lib ${LDFLAGS}"
+CONFIGURE_ARGS =       LDFLAGS="-L${LOCALBASE}/lib -lintl"
 LIBTOOL_FLAGS =        --tag=disable-static
 SEPARATE_BUILD = Yes
 

Reply via email to