summaryrefslogtreecommitdiff
path: root/package/firefox
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-07-09 13:18:47 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-07-09 13:18:47 +0200
commitd8801c28fc40fbb7c33fd02d6ca007fb63b17315 (patch)
treeb4013b6a78a32907586cef7f565fe822ab4e36d8 /package/firefox
parent0ba4aae7681b4eb642da9aab7a1d4bd9c9b865cc (diff)
fix build for lemote, enable system png usage
Diffstat (limited to 'package/firefox')
-rw-r--r--package/firefox/Makefile17
1 files changed, 12 insertions, 5 deletions
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 \