I get a segmentation fault while running scim-setup:

$ /usr/local/bin/scim-setup 
/usr/local/lib/scim-1.0/scim-helper-launcher:/usr/local/lib/libgthread-2.0.so.18
03.0: undefined symbol 'pthread_mutex_trylock'
lazy binding failed!
Segmentation fault 

Attached is a diff that fixes this problem.
OK?

        Kevin
Index: Makefile
===================================================================
RCS file: /cvs/ports/inputmethods/scim/Makefile,v
retrieving revision 1.7
diff -u -p -r1.7 Makefile
--- Makefile    24 Jul 2010 11:44:17 -0000      1.7
+++ Makefile    29 Jul 2010 09:19:08 -0000
@@ -5,7 +5,7 @@ SHARED_ONLY=    Yes
 COMMENT=       smart common input method platform
 
 DISTNAME=      scim-1.4.9
-REVISION=      2
+REVISION=      3
 
 SHARED_LIBS +=  scim-1.0           0.0           # .10.4
 SHARED_LIBS +=  scim-x11utils-1.0  0.0           # .10.4
@@ -46,5 +46,6 @@ LIBTOOL_FLAGS=        --tag=disable-static
 CONFIGURE_STYLE= gnu
 CONFIGURE_ARGS=        ${CONFIGURE_SHARED} \
                
--with-gtk-im-module-dir="${LOCALBASE}/lib/gtk-2.0/2.10.0/immodules"
+CONFIGURE_ENV= LIBS="-pthread"
 
 .include <bsd.port.mk>

Reply via email to