summaryrefslogtreecommitdiff
path: root/lang/python26
diff options
context:
space:
mode:
authorMarcus von Appen <mva@FreeBSD.org>2012-06-20 22:35:15 +0000
committerMarcus von Appen <mva@FreeBSD.org>2012-06-20 22:35:15 +0000
commit2f377af2d0af5cb0d5a8334bc9988db0be0db9f6 (patch)
tree840fe2026cbb7b135b4bec955e9995d6ba5900f3 /lang/python26
parentTine 2.0 includes address book, calendar, email, tasks, (diff)
- 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 <freebsd@byshenk.net>
Notes
Notes: svn path=/head/; revision=299710
Diffstat (limited to 'lang/python26')
-rw-r--r--lang/python26/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/lang/python26/Makefile b/lang/python26/Makefile
index 52dbf102afd6..cfd285d858dd 100644
--- a/lang/python26/Makefile
+++ b/lang/python26/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