Commit 5fc224c4 authored by Felix Paul Kühne's avatar Felix Paul Kühne

* make sure gettext is built before libiconv, since it is needed for its compilation

parent 3d673c28
...@@ -51,14 +51,14 @@ endif ...@@ -51,14 +51,14 @@ endif
# *************************************************************************** # ***************************************************************************
ifeq ($(SYS),DARWIN) ifeq ($(SYS),DARWIN)
all: .autoconf .libtool .automake .iconv .intl .pkgcfg .freetype .fribidi \ all: .autoconf .libtool .automake .intl .iconv .pkgcfg .freetype .fribidi \
.a52 .mpeg2 .id3tag .mad .ogg .vorbis .vorbisenc .theora \ .a52 .mpeg2 .id3tag .mad .ogg .vorbis .vorbisenc .theora \
.FLAC .speex .faad .faac .lame .ebml .matroska .ffmpeg .openslp \ .FLAC .speex .faad .faac .lame .ebml .matroska .ffmpeg .openslp \
.dvdcss .dvdread .dvdnav .dvbpsi .live .goom2k4 .caca .mod \ .dvdcss .dvdread .dvdnav .dvbpsi .live .goom2k4 .caca .mod \
.png .gpgerror .gcrypt .gnutls .png .gpgerror .gcrypt .gnutls
endif endif
ifeq ($(SYS),BEOS) ifeq ($(SYS),BEOS)
all: .perl .autoconf .libtool .automake .iconv .intl .freetype .fribidi \ all: .perl .autoconf .libtool .automake .intl .iconv .freetype .fribidi \
.a52 .mpeg2 .id3tag .mad .ogg .vorbis .vorbisenc .theora \ .a52 .mpeg2 .id3tag .mad .ogg .vorbis .vorbisenc .theora \
.FLAC .speex .faad .faac .lame .ebml .matroska .ffmpeg .dvdcss \ .FLAC .speex .faad .faac .lame .ebml .matroska .ffmpeg .dvdcss \
.dvdread .dvdnav .dvbpsi .dvdread .dvdnav .dvbpsi
...@@ -215,25 +215,6 @@ CLEAN_FILE += .automake ...@@ -215,25 +215,6 @@ CLEAN_FILE += .automake
CLEAN_PKG += automake CLEAN_PKG += automake
DISTCLEAN_PKG += automake-$(AUTOMAKE_VERSION).tar.gz DISTCLEAN_PKG += automake-$(AUTOMAKE_VERSION).tar.gz
# ***************************************************************************
# libiconv
# ***************************************************************************
libiconv-$(LIBICONV_VERSION).tar.gz:
$(WGET) $(LIBICONV_URL)
libiconv: libiconv-$(LIBICONV_VERSION).tar.gz
$(EXTRACT_GZ)
.iconv: libiconv
(cd libiconv; ./configure --prefix=$(PREFIX) && make && make install)
$(INSTALL_NAME)
touch $@
CLEAN_FILE += .iconv
CLEAN_PKG += libiconv
DISTCLEAN_PKG += libiconv-$(LIBICONV_VERSION).tar.gz
# *************************************************************************** # ***************************************************************************
# pkgconfig # pkgconfig
# *************************************************************************** # ***************************************************************************
...@@ -251,6 +232,7 @@ pkgconfig: pkgconfig-$(PKGCFG_VERSION).tar.gz ...@@ -251,6 +232,7 @@ pkgconfig: pkgconfig-$(PKGCFG_VERSION).tar.gz
CLEAN_FILE += .pkgcfg CLEAN_FILE += .pkgcfg
CLEAN_PKG += pkgconfig CLEAN_PKG += pkgconfig
DISTCLEAN_PKG += pkgconfig-$(PKGCFG_VERSION).tar.gz DISTCLEAN_PKG += pkgconfig-$(PKGCFG_VERSION).tar.gz
# *************************************************************************** # ***************************************************************************
# gettext # gettext
# *************************************************************************** # ***************************************************************************
...@@ -262,7 +244,7 @@ gettext: gettext-$(GETTEXT_VERSION).tar.gz ...@@ -262,7 +244,7 @@ gettext: gettext-$(GETTEXT_VERSION).tar.gz
$(EXTRACT_GZ) $(EXTRACT_GZ)
patch -p 0 < Patches/gettext.patch patch -p 0 < Patches/gettext.patch
.intl: gettext .iconv .intl: gettext
( cd $< && ./configure --prefix=$(PREFIX) ) ( cd $< && ./configure --prefix=$(PREFIX) )
ifeq ($(SYS),BEOS) ifeq ($(SYS),BEOS)
# The ugliest kludge ever - so libtool correctly links shared libraries # The ugliest kludge ever - so libtool correctly links shared libraries
...@@ -277,6 +259,25 @@ CLEAN_FILE += .intl ...@@ -277,6 +259,25 @@ CLEAN_FILE += .intl
CLEAN_PKG += gettext CLEAN_PKG += gettext
DISTCLEAN_PKG += gettext-$(GETTEXT_VERSION).tar.gz DISTCLEAN_PKG += gettext-$(GETTEXT_VERSION).tar.gz
# ***************************************************************************
# libiconv
# ***************************************************************************
libiconv-$(LIBICONV_VERSION).tar.gz:
$(WGET) $(LIBICONV_URL)
libiconv: libiconv-$(LIBICONV_VERSION).tar.gz
$(EXTRACT_GZ)
.iconv: libiconv
(cd libiconv; ./configure --prefix=$(PREFIX) && make && make install)
$(INSTALL_NAME)
touch $@
CLEAN_FILE += .iconv
CLEAN_PKG += libiconv
DISTCLEAN_PKG += libiconv-$(LIBICONV_VERSION).tar.gz
# *************************************************************************** # ***************************************************************************
# freetype2 # freetype2
# *************************************************************************** # ***************************************************************************
......
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