Commit 03916eb0 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

contrib: .iconv->.iconv-from-os when appropriate.

parent 16600c8f
......@@ -72,7 +72,7 @@ contrib-macosx-$(ARCH)-$(CONTRIBREV).tar.bz2:
# result in linking issues
ifdef HAVE_MACOSX_DARWIN_10
(cd $(PREFIX)/lib && sed -e 's%/usr/lib/libiconv.la%$(PREFIX)/lib/libiconv.la%g' -i.orig *.la && rm -f *.la.orig)
(cd build-src && rm -f .iconv && $(MAKE) .iconv)
(cd build-src && rm -f .iconv && $(MAKE) .iconv-from-os)
endif
touch .$(CONTRIBREV)
......
......@@ -358,21 +358,21 @@ libiconv-snowleopard: libiconv-snowleopard.tar.bz2
ifdef HAVE_MACOSX
ifdef HAVE_MACOSX_DARWIN_10
.iconv: libiconv-snowleopard
.iconv-from-os: libiconv-snowleopard
(cd libiconv-snowleopard && cp libiconv.* $(PREFIX)/lib/)
touch $@
else
.iconv:
.iconv-from-os:
touch $@
endif
else
endif
.iconv: libiconv
(cd libiconv; $(HOSTCC) ./configure $(HOSTCONF) --prefix=$(PREFIX) --disable-nls && make && make install)
$(INSTALL_NAME)
touch $@
endif
CLEAN_FILE += .iconv
CLEAN_FILE += .iconv .iconv-from-os
CLEAN_PKG += libiconv
DISTCLEAN_PKG += libiconv-$(LIBICONV_VERSION).tar.gz
......
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