summaryrefslogtreecommitdiff
path: root/lang/python27
diff options
context:
space:
mode:
Diffstat (limited to 'lang/python27')
-rw-r--r--lang/python27/Makefile6
1 files changed, 1 insertions, 5 deletions
diff --git a/lang/python27/Makefile b/lang/python27/Makefile
index beee2a3310f2..f057d2e55acc 100644
--- a/lang/python27/Makefile
+++ b/lang/python27/Makefile
@@ -65,12 +65,8 @@ NLS_DESC= Enable Gettext support for the locale module
.if ${PORT_OPTIONS:MNLS}
USES+= gettext
-LDFLAGS+= -L${LOCALBASE}/lib
-# We use CPPFLAGS over CFLAGS here due to -I ordering causing things like
-# elementtree and pyexpat to break with python27, or to silence preprocessor
-# complaints with python33
CPPFLAGS+= -I${LOCALBASE}/include
-CONFIGURE_ENV+= LIBS="-lintl"
+LIBS+= -L${LOCALBASE}/lib -lintl
.else
CONFIGURE_ENV+= ac_cv_lib_intl_textdomain=no ac_cv_header_libintl_h=no
.endif