diff options
author | Norikatsu Shigemura <nork@FreeBSD.org> | 2003-09-10 15:55:29 +0000 |
---|---|---|
committer | Norikatsu Shigemura <nork@FreeBSD.org> | 2003-09-10 15:55:29 +0000 |
commit | 90a2eb2a60fd394c18b240d753f87b84cc71ef71 (patch) | |
tree | 77b59c709b247fa24e5dac2acb9c01dba6fca1a5 /multimedia/mplayer | |
parent | Update to 0.20_01 (diff) |
o Chase lib version change of multimedia/xmms. [1]
o Fix build on recent current (by -pthread option is deprecated). [2]
o WITH_LANG is added. [2]
PR: ports/56630 [1]
Submitted by: Guido Berhoerster <ich@guido-berhoerster.org> [1]
Tod McQuillin <devin@spamcop.net> [1]
Ivanchenko V. I. <webmaster@asiamusic.ru> [1][2]
Approved by: Thomas E. Zander <riggs@rrr.de> (maintainer)
Notes
Notes:
svn path=/head/; revision=88947
Diffstat (limited to 'multimedia/mplayer')
-rw-r--r-- | multimedia/mplayer/Makefile | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/multimedia/mplayer/Makefile b/multimedia/mplayer/Makefile index 1462cb3ab255..d78af8ee6369 100644 --- a/multimedia/mplayer/Makefile +++ b/multimedia/mplayer/Makefile @@ -143,6 +143,10 @@ # WITH_XMMS # default: autodetect # +# WITH_LANG +# default: en +# Enables language support bg, cz, de, dk, en, es, fr, gr, hu, it, ko, nl, no, pl, pt_BR, ro, ru, sk, tr, uk, zh +# # WITHOUT_WIN32_CODECS # default: undefined # By default, mplayer depends on and uses the win32-codecs collection. @@ -201,6 +205,10 @@ CONFIGURE_ARGS= --with-extralibdir=${LOCALBASE}/lib \ --disable-libfame \ --disable-tv-v4l +.if defined(WITH_LANG) +CONFIGURE_ARGS+=--language=${WITH_LANG} +.endif + WANT_GNOME= yes USE_REINPLACE= yes MAN1= mplayer.1 @@ -432,7 +440,7 @@ CONFIGURE_ARGS+= --disable-liblzo .if defined(WITH_XMMS) CONFIGURE_ARGS+= --enable-xmms -LIB_DEPENDS+= xmms.3:${PORTSDIR}/multimedia/xmms +LIB_DEPENDS+= xmms.4:${PORTSDIR}/multimedia/xmms .endif .if defined(WITH_FAAD) @@ -517,12 +525,18 @@ post-patch: @${REINPLACE_CMD} -e \ 's|libxmms.so.1|libxmms.so|' \ ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} + @${REINPLACE_CMD} -Ee 's#-pthread|-lc_r#${PTHREAD_LIBS}#g' \ + ${WRKSRC}/configure pre-configure: .if defined(WITH_LIBDVDREAD) @${RM} -Rf ${WRKSRC}/libmpdvdkit2/ .endif +post-configure: + @${REINPLACE_CMD} -e 's#-pthread#${PTHREAD_LIBS}#g' \ + ${WRKSRC}/config.mak + post-install: @${MKDIR} ${DATADIR} @${CHMOD} 755 ${DATADIR} |