From 2f377af2d0af5cb0d5a8334bc9988db0be0db9f6 Mon Sep 17 00:00:00 2001 From: Marcus von Appen Date: Wed, 20 Jun 2012 22:35:15 +0000 Subject: - Fix builds, if the NLS option switch is set. In some cases expat-related modules are not built correctly. PR: ports/169276 Submitted by: Greg Byshenk --- lang/python27/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lang/python27') diff --git a/lang/python27/Makefile b/lang/python27/Makefile index c03236a92af5..dbff4c2e1243 100644 --- a/lang/python27/Makefile +++ b/lang/python27/Makefile @@ -82,8 +82,9 @@ PLIST_SUB+= IF_DEFAULT="@comment " .if ${PORT_OPTIONS:MNLS} USE_GETTEXT= yes -LDFLAGS+= "-L${LOCALBASE}/lib" -CFLAGS+= "-I${LOCALBASE}/include" +# XXX do not set any LDFLAGS or CFLAGS - this causes pyexpat to fail building +#LDFLAGS+= "-L${LOCALBASE}/lib" +#CFLAGS+= "-I${LOCALBASE}/include" .else CONFIGURE_ENV+= ac_cv_lib_intl_textdomain=no ac_cv_header_libintl_h=no .endif -- cgit v1.2.3