diff options
author | nork <nork@FreeBSD.org> | 2003-09-10 23:55:29 +0800 |
---|---|---|
committer | nork <nork@FreeBSD.org> | 2003-09-10 23:55:29 +0800 |
commit | a6819ced67a4f30b2b0049a05aceb03ea649c02f (patch) | |
tree | 0fba1b3a6d8788af111e4b14fb415ca401cda41f /multimedia | |
parent | 2d5e9cdf6d7119ba3c48962220e4a82c9bedfaa2 (diff) | |
download | freebsd-ports-gnome-a6819ced67a4f30b2b0049a05aceb03ea649c02f.tar.gz freebsd-ports-gnome-a6819ced67a4f30b2b0049a05aceb03ea649c02f.tar.zst freebsd-ports-gnome-a6819ced67a4f30b2b0049a05aceb03ea649c02f.zip |
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)
Diffstat (limited to 'multimedia')
-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} |