summaryrefslogtreecommitdiff
path: root/package/mplayer/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-12-03 00:17:17 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-12-03 00:17:17 +0100
commitb267f52a72cee7753e6ad29698f55f85d74b22d2 (patch)
tree7135738d739389ef9399c381296ba89fa48fb4c2 /package/mplayer/Makefile
parent7275c18c02cb7a186721091aa13cdb1920cd7b0c (diff)
fix compile on Darwin
Diffstat (limited to 'package/mplayer/Makefile')
-rw-r--r--package/mplayer/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/mplayer/Makefile b/package/mplayer/Makefile
index 60fc830d7..afb2e68d4 100644
--- a/package/mplayer/Makefile
+++ b/package/mplayer/Makefile
@@ -17,7 +17,6 @@ PKG_BUILDDEP+= libX11 libXv libpng libXext
PKG_URL:= http://www.mplayerhq.hu/
PKG_SITES:= http://openadk.org/distfiles/
-PKG_HOST_DEPENDS:= !darwin
PKG_TARGET_DEPENDS:= alix x86 x86_64 mips mipsel mips64 mips64el
PKG_FLAVOURS:= WITH_DIRECTFB
@@ -143,6 +142,8 @@ CONFIGURE_ARGS:= --prefix=/usr \
${CONFIGURE_DEBUG} \
${CONFIGURE_DIRECTFB}
+XAKE_FLAGS+= AR="${TARGET_CROSS}ar" RANLIB="${TARGET_CROSS}ranlib"
+
post-install:
${INSTALL_DIR} ${IDIR_MPLAYER}/usr/bin
${CP} ${WRKINST}/usr/bin/mplayer ${IDIR_MPLAYER}/usr/bin