Mercurial > mxe-octave
changeset 281:801ca6a45598
portability fix for MacOS X: don't expect the build system to provide gettext/libintl
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Fri, 06 Mar 2009 17:51:13 +0100 |
parents | 031e0fb7cd7f |
children | 44ce30959976 |
files | src/glib.mk |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/glib.mk Fri Mar 06 17:05:27 2009 +0100 +++ b/src/glib.mk Fri Mar 06 17:51:13 2009 +0100 @@ -16,8 +16,10 @@ endef define $(PKG)_BUILD - # native build for glib-genmarshal + # native build for glib-genmarshal, without gettext cd '$(1)' && $(call UNPACK_PKG_ARCHIVE,glib) + $(SED) 's,gt_cv_have_gettext=yes,gt_cv_have_gettext=no,' -i '$(1)/$(glib_SUBDIR)/configure' + $(SED) '/You must.*have gettext/,/exit 1;/ s,.*exit 1;.*,},' -i '$(1)/$(glib_SUBDIR)/configure' cd '$(1)/$(glib_SUBDIR)' && ./configure \ --disable-shared \ --prefix='$(PREFIX)' \