Page MenuHomeFreeBSD

D7012.id17989.diff
No OneTemporary

D7012.id17989.diff

Index: multimedia/mplayer2/Makefile
===================================================================
--- multimedia/mplayer2/Makefile
+++ multimedia/mplayer2/Makefile
@@ -2,7 +2,7 @@
PORTNAME= mplayer2
PORTVERSION= ${MPLAYER2_PORT_VERSION}
-PORTREVISION= 20
+PORTREVISION= 21
CATEGORIES= multimedia audio
MASTER_SITES= LOCAL/gblach/
@@ -16,7 +16,7 @@
libavcodec.so:multimedia/ffmpeg
BUILD_DEPENDS= rst2man:textproc/py-docutils
-USES= cpe gmake iconv ncurses pkgconfig python:build tar:xz
+USES= cpe gmake iconv ncurses pkgconfig python:3,build tar:xz
HAS_CONFIGURE= yes
CONFIGURE_ENV= TMPDIR="${WRKSRC}"
CONFIGURE_ARGS= --cc=${CC} \
@@ -219,4 +219,10 @@
${STAGEDIR}${PREFIX}/etc/mplayer/${conf}.conf.sample
.endfor
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if defined(PACKAGE_BUILDING) && ${PYTHON_VER} != ${PYTHON_DEFAULT}
+IGNORE= you have python ${PYTHON_DEFAULT} set as the default, and this needs ${PYTHON_VER}
+.endif
+
+.include <bsd.port.post.mk>

File Metadata

Mime Type
text/plain
Expires
Thu, Apr 30, 8:48 AM (15 h, 34 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32481356
Default Alt Text
D7012.id17989.diff (997 B)

Event Timeline