Commit 7a7b3177 authored by Felix Paul Kühne's avatar Felix Paul Kühne

contribs: fixed compilation on Snow Leopard, as Apple refuses to ship...

contribs: fixed compilation on Snow Leopard, as Apple refuses to ship libiconv.la within /usr/lib any longer

'It is intended to not include the .la files in Mac OS X.  These are not required.'
parent 50f435be
...@@ -461,9 +461,21 @@ ifdef HAVE_DARWIN_OS ...@@ -461,9 +461,21 @@ ifdef HAVE_DARWIN_OS
endif endif
patch -p0 < Patches/libiconv-autoconf-uclibc.patch patch -p0 < Patches/libiconv-autoconf-uclibc.patch
libiconv-snowleopard.tar.bz2:
$(WGET) $(LIBICONVMAC_URL)
libiconv-snowleopard: libiconv-snowleopard.tar.bz2
$(EXTRACT_BZ2)
ifdef HAVE_DARWIN_OS ifdef HAVE_DARWIN_OS
ifdef HAVE_DARWIN_64
.iconv: libiconv-snowleopard
(cd libiconv-snowleopard && cp libiconv.* ../../lib/)
touch $@
else
.iconv: .iconv:
touch $@ touch $@
endif
else else
.iconv: libiconv .iconv: libiconv
(cd libiconv; $(HOSTCC) ./configure $(HOSTCONF) --prefix=$(PREFIX) --disable-nls && make && make install) (cd libiconv; $(HOSTCC) ./configure $(HOSTCONF) --prefix=$(PREFIX) --disable-nls && make && make install)
......
...@@ -49,6 +49,7 @@ PKGCFG_URL=$(VIDEOLAN)/testing/contrib/pkg-config-$(PKGCFG_VERSION).tar.gz ...@@ -49,6 +49,7 @@ PKGCFG_URL=$(VIDEOLAN)/testing/contrib/pkg-config-$(PKGCFG_VERSION).tar.gz
#PKGCFG_URL=http://pkgconfig.freedesktop.org/releases/pkg-config-$(PKGCFG_VERSION).tar.gz #PKGCFG_URL=http://pkgconfig.freedesktop.org/releases/pkg-config-$(PKGCFG_VERSION).tar.gz
LIBICONV_VERSION=1.9.2 LIBICONV_VERSION=1.9.2
LIBICONV_URL=$(GNU)/libiconv/libiconv-$(LIBICONV_VERSION).tar.gz LIBICONV_URL=$(GNU)/libiconv/libiconv-$(LIBICONV_VERSION).tar.gz
LIBICONVMAC_URL=$(VIDEOLAN)/testing/contrib/libiconv-snowleopard.tar.bz2
GETTEXT_VERSION=0.17 GETTEXT_VERSION=0.17
GETTEXT_URL=$(GNU)/gettext/gettext-$(GETTEXT_VERSION).tar.gz GETTEXT_URL=$(GNU)/gettext/gettext-$(GETTEXT_VERSION).tar.gz
FONTCONFIG_VERSION=2.6.0 FONTCONFIG_VERSION=2.6.0
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment