Mercurial > mxe-octave
changeset 280:031e0fb7cd7f
portability fix for FreeBSD: don't expect the build system to have iconv installed
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Fri, 06 Mar 2009 17:05:27 +0100 |
parents | 25d36cc629f6 |
children | 801ca6a45598 |
files | src/gettext.mk |
diffstat | 1 files changed, 10 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gettext.mk Fri Mar 06 14:47:43 2009 +0100 +++ b/src/gettext.mk Fri Mar 06 17:05:27 2009 +0100 @@ -16,11 +16,20 @@ endef define $(PKG)_BUILD + # native build of libiconv (used by gettext-tools) + cd '$(1)' && $(call UNPACK_PKG_ARCHIVE,libiconv) + cd '$(1)/$(libiconv_SUBDIR)' && ./configure \ + --prefix='$(1)/libiconv' \ + --disable-shared \ + --disable-nls + $(MAKE) -C '$(1)/$(libiconv_SUBDIR)' -j '$(JOBS)' install + # native build for gettext-tools cd '$(1)/gettext-tools' && ./configure \ --disable-shared \ --prefix='$(PREFIX)' \ --disable-threads \ + --with-libiconv-prefix='$(1)/libiconv' \ --with-included-gettext \ --with-included-glib \ --with-included-libcroco \ @@ -35,6 +44,7 @@ --without-emacs $(MAKE) -C '$(1)/gettext-tools' -j '$(JOBS)' SHELL=bash $(MAKE) -C '$(1)/gettext-tools/src' -j 1 SHELL=bash lib_LTLIBRARIES= install-binPROGRAMS + # cross build for gettext-runtime cd '$(1)/gettext-runtime' && ./configure \ --host='$(TARGET)' \