Hi,

aja@ reported me that in our python we could not use locale.bindtextdomain, 
needed for few ports.

Attached is the diff to permit to activate this on python 2 and python 3.

It could be good to run this diff into a bulk, and I will commit it post-lock.

I tested with sonata and it works fine.

Cheers,

Remi.
Index: Makefile.inc
===================================================================
RCS file: /cvs/ports/lang/python/Makefile.inc,v
retrieving revision 1.104
diff -u -r1.104 Makefile.inc
--- Makefile.inc        27 Oct 2013 18:32:55 -0000      1.104
+++ Makefile.inc        9 Feb 2014 09:28:48 -0000
@@ -123,7 +123,7 @@
                        --with-system-expat \
                        --with-system-ffi
 
-CONFIGURE_ENV += OPT='${CFLAGS} -fPIC' \
+CONFIGURE_ENV += OPT='${CFLAGS} -fPIC' CPPFLAGS='-I${LOCALBASE}/include' \
                LDFLAGS='-L${LOCALBASE}/lib/' SVNVERSION=no \
                LOCALBASE=${LOCALBASE} X11BASE=${X11BASE}
 MAKE_ENV +=    LOCALBASE=${LOCALBASE} X11BASE=${X11BASE}

Reply via email to