summaryrefslogtreecommitdiff
path: root/lang/python25
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/python25
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/python25')
-rw-r--r--lang/python25/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/lang/python25/Makefile b/lang/python25/Makefile
index 4bb38a3ca316..c7e1eafe15c3 100644
--- a/lang/python25/Makefile
+++ b/lang/python25/Makefile
@@ -70,8 +70,9 @@ PLIST_SUB+= IF_DEFAULT="@comment "
.if !defined(WITHOUT_NLS)
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