diff options
author | mva <mva@FreeBSD.org> | 2012-06-21 06:35:15 +0800 |
---|---|---|
committer | mva <mva@FreeBSD.org> | 2012-06-21 06:35:15 +0800 |
commit | 172e172f08224ec9d82b6130d1e404de2792a449 (patch) | |
tree | 6b01040f8bb3ff341c15a0a4fcba4cd83b78cbf2 /lang/python32 | |
parent | 5fd44195d5649353dc4a5af78e53d9fc346ade6c (diff) | |
download | freebsd-ports-gnome-172e172f08224ec9d82b6130d1e404de2792a449.tar.gz freebsd-ports-gnome-172e172f08224ec9d82b6130d1e404de2792a449.tar.zst freebsd-ports-gnome-172e172f08224ec9d82b6130d1e404de2792a449.zip |
- 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>
Diffstat (limited to 'lang/python32')
-rw-r--r-- | lang/python32/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lang/python32/Makefile b/lang/python32/Makefile index 041c3e747a9a..1aae5c8de8e6 100644 --- a/lang/python32/Makefile +++ b/lang/python32/Makefile @@ -67,8 +67,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 |