summaryrefslogtreecommitdiffstats
path: root/rules/mplayer.make
diff options
context:
space:
mode:
Diffstat (limited to 'rules/mplayer.make')
-rw-r--r--rules/mplayer.make15
1 files changed, 10 insertions, 5 deletions
diff --git a/rules/mplayer.make b/rules/mplayer.make
index 9651e38ac..6e1b8fb22 100644
--- a/rules/mplayer.make
+++ b/rules/mplayer.make
@@ -19,12 +19,12 @@ PACKAGES-$(PTXCONF_MPLAYER) += mplayer
#
MPLAYER_VERSION = 1.0pre7try2
MPLAYER = MPlayer-$(MPLAYER_VERSION)
-MPLAYER_SUFFIX = tar.bz2
-MPLAYER_URL = http://ftp5.mplayerhq.hu/mplayer/releases/$(MPLAYER).$(MPLAYER_SUFFIX)
-MPLAYER_SOURCE = $(SRCDIR)/$(MPLAYER).$(MPLAYER_SUFFIX)
-MPLAYER_DIR = $(BUILDDIR)/$(MPLAYER)
+MPLAYER_SUFFIX = tar.bz2
+MPLAYER_URL = http://ftp5.mplayerhq.hu/mplayer/releases/$(MPLAYER).$(MPLAYER_SUFFIX)
+MPLAYER_SOURCE = $(SRCDIR)/$(MPLAYER).$(MPLAYER_SUFFIX)
+MPLAYER_DIR = $(BUILDDIR)/$(MPLAYER)
-include $(call package_depfile)
+-include $(call package_depfile)
# ----------------------------------------------------------------------------
# Get
@@ -92,6 +92,11 @@ $(STATEDIR)/mplayer.prepare: $(mplayer_prepare_deps)
cd $(MPLAYER_DIR) && \
$(MPLAYER_PATH) $(MPLAYER_ENV) \
./configure $(MPLAYER_AUTOCONF)
+ @echo
+ @echo FIXME: this is necessary with gcc 3.4.4 which runs into OOM with -O4
+ @echo
+# sed -ie "s/[ \t]-O4[ \t]/ -O2 /g" $(MPLAYER_DIR)/config.mak
+ @echo
@$(call touch, $@)
# ----------------------------------------------------------------------------