From d8801c28fc40fbb7c33fd02d6ca007fb63b17315 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 9 Jul 2010 13:18:47 +0200 Subject: fix build for lemote, enable system png usage --- package/firefox/Makefile | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to 'package/firefox/Makefile') diff --git a/package/firefox/Makefile b/package/firefox/Makefile index 422bcb298..47686883a 100644 --- a/package/firefox/Makefile +++ b/package/firefox/Makefile @@ -9,11 +9,11 @@ PKG_RELEASE:= 1 PKG_MD5SUM:= c9a071b31bb90d05edfb93117d0a7537 PKG_DESCR:= graphical webbrowser PKG_SECTION:= x11/apps -PKG_DEPENDS:= libpthread alsa-lib dbus-glib glib libgtk+ libnotify libidl +PKG_DEPENDS:= libpthread alsa-lib dbus-glib glib libgtk+ libnotify PKG_DEPENDS+= nspr nss libjpeg atk pango cairo libxt libx11 libstdcxx -PKG_DEPENDS+= libxdamage libxfixes -PKG_BUILDDEP+= alsa-lib dbus-glib glib gtk+ libnotify libIDL libX11 libXt -PKG_BUILDDEP+= nspr nss jpeg +PKG_DEPENDS+= libxdamage libxfixes libidl +PKG_BUILDDEP+= alsa-lib dbus-glib glib gtk+ libnotify libIDL libX11 +PKG_BUILDDEP+= nspr nss jpeg libXt PKG_URL:= http://www.mozilla.org/ PKG_SITES:= http://releases.mozilla.org/pub/mozilla.org/firefox/releases/${PKG_VERSION}/source/ @@ -26,6 +26,12 @@ include $(TOPDIR)/mk/package.mk $(eval $(call PKG_template,FIREFOX,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) +ifeq (${ADK_LINUX_MIPS64_LEMOTE},y) +CONFIGURE_ARGS+= --disable-ipc +else +CONFIGURE_ARGS+= --enable-ipc +endif + CONFIGURE_ENV+= CROSS_COMPILE=1 HOST_CC="${HOSTCC}" HOST_CFLAGS="${HOSTCFLAGS}" \ HOST_CXX="${HOSTCXX}" HOST_CXXFLAGS="${HOSTCXXFLAGS}" \ HOST_LIBIDL_CONFIG="/usr/bin/libIDL-config-2" \ @@ -33,11 +39,12 @@ CONFIGURE_ENV+= CROSS_COMPILE=1 HOST_CC="${HOSTCC}" HOST_CFLAGS="${HOSTCFLAGS}" CONFIGURE_ARGS+= --enable-application=browser \ --with-system-zlib \ --with-system-jpeg \ + --with-system-png \ --with-system-nss \ --with-system-nspr \ + --enable-libxul \ --disable-tests \ --disable-static \ - --enable-libxul \ --disable-gnomeui \ --disable-gnomevfs \ --disable-optimize \ -- cgit v1.2.3