Mercurial > mxe-octave
comparison src/glib.mk @ 687:a6958c580deb
don't require a native zlib-devel when building package glib (by Tony Theodore)
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Fri, 05 Feb 2010 05:05:29 +0100 |
parents | dab071eac9c0 |
children | ff047093f2a8 |
comparison
equal
deleted
inserted
replaced
686:0964ad16d896 | 687:a6958c580deb |
---|---|
27 --prefix='$(1)/libiconv' \ | 27 --prefix='$(1)/libiconv' \ |
28 --disable-shared \ | 28 --disable-shared \ |
29 --disable-nls | 29 --disable-nls |
30 $(MAKE) -C '$(1)/$(libiconv_SUBDIR)' -j 1 install | 30 $(MAKE) -C '$(1)/$(libiconv_SUBDIR)' -j 1 install |
31 | 31 |
32 # native build for glib-genmarshal, without pkg-config and gettext | 32 # native build for glib-genmarshal, without pkg-config, gettext, and zlib |
33 cd '$(1)' && $(call UNPACK_PKG_ARCHIVE,glib) | 33 cd '$(1)' && $(call UNPACK_PKG_ARCHIVE,glib) |
34 $(SED) 's,^PKG_CONFIG=.*,PKG_CONFIG=echo,' -i '$(1)/$(glib_SUBDIR)/configure' | 34 $(SED) 's,^PKG_CONFIG=.*,PKG_CONFIG=echo,' -i '$(1)/$(glib_SUBDIR)/configure' |
35 $(SED) 's,gt_cv_have_gettext=yes,gt_cv_have_gettext=no,' -i '$(1)/$(glib_SUBDIR)/configure' | 35 $(SED) 's,gt_cv_have_gettext=yes,gt_cv_have_gettext=no,' -i '$(1)/$(glib_SUBDIR)/configure' |
36 $(SED) '/You must.*have gettext/,/exit 1;/ s,.*exit 1;.*,},' -i '$(1)/$(glib_SUBDIR)/configure' | 36 $(SED) '/You must.*have gettext/,/exit 1;/ s,.*exit 1;.*,},' -i '$(1)/$(glib_SUBDIR)/configure' |
37 $(SED) 's,found_zlib=no,found_zlib=yes,' -i '$(1)/$(glib_SUBDIR)/configure' | |
38 | |
37 cd '$(1)/$(glib_SUBDIR)' && ./configure \ | 39 cd '$(1)/$(glib_SUBDIR)' && ./configure \ |
38 --disable-shared \ | 40 --disable-shared \ |
39 --prefix='$(PREFIX)' \ | 41 --prefix='$(PREFIX)' \ |
40 --enable-regex \ | 42 --enable-regex \ |
41 --without-threads \ | 43 --without-threads \ |