[vlc-commits] contribs: another iconv hack for fontconfig
Felix Paul Kühne
git at videolan.org
Sat May 7 21:34:06 CEST 2011
vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Sat May 7 21:34:02 2011 +0200| [fbbec486fe0051572fafed1e98331c87b0543d5c] | committer: Felix Paul Kühne
contribs: another iconv hack for fontconfig
additionally, make sure /opt doesn't sneak in our patch
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=fbbec486fe0051572fafed1e98331c87b0543d5c
---
extras/contrib/src/contrib-src.mak | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/extras/contrib/src/contrib-src.mak b/extras/contrib/src/contrib-src.mak
index 7d0321e..9b4c62d 100644
--- a/extras/contrib/src/contrib-src.mak
+++ b/extras/contrib/src/contrib-src.mak
@@ -35,7 +35,11 @@ include ./packages.mak
# Set a clean environment
# ***************************************************************************
+#ifdef HAVE_DARWIN_OS
+export PATH := $(PREFIX)/bin:$(EXTRA_PATH):/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:
+else
export PATH := $(PREFIX)/bin:$(EXTRA_PATH):$(PATH)
+endif
export PKG_CONFIG_PATH
export PKG_CONFIG_LIBDIR = $(PREFIX)/lib/pkgconfig
export MACOSX_DEPLOYMENT_TARGET = $(SDK_TARGET)
@@ -419,7 +423,7 @@ FONTCONFIG_ENV-$(HAVE_WIN32) = $(HOSTCC)
FONTCONFIG_ENV-$(HAVE_CYGWIN) =
FONTCONFIG_INSTALL-$(ENABLED) = make install
-FONTCONFIG_INSTALL-$(HAVE_MACOSX) = make install-exec && (cd fontconfig ; make install-data) && cp fontconfig.pc $(PKG_CONFIG_LIBDIR)
+FONTCONFIG_INSTALL-$(HAVE_MACOSX) = make install-exec && (cd fontconfig ; make install-data) && cp fontconfig.pc $(PKG_CONFIG_LIBDIR) && sed -e 's%/usr/lib/libiconv.la%%' -i.orig $(PREFIX)/lib/libfontconfig.la
.fontconfig: fontconfig .xml .freetype
(cd $<; $(FONTCONFIG_ENV-1) ./configure $(FONTCONFIG_CONF-1) && make && $(FONTCONFIG_INSTALL-1))
More information about the vlc-commits
mailing list