From 05c1016f34e8e5b325647bc140981b2f643cda67 Mon Sep 17 00:00:00 2001 From: "Carlos J. Puga Medina" Date: Wed, 29 Jun 2016 01:50:08 +0000 Subject: [PATCH] - Re-add USES=python:3,build because it depends on python3 - Ignore on the package builders Reported by: pkg-fallout Reviewed by: junovitch (mentor) Approved by: junovitch (mentor) Differential Revision: D7012 --- multimedia/mplayer2/Makefile | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/multimedia/mplayer2/Makefile b/multimedia/mplayer2/Makefile index c97f50cbcdf5..0bddc0c5f67b 100644 --- a/multimedia/mplayer2/Makefile +++ b/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 @@ LIB_DEPENDS= libpng.so:graphics/png \ 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 @@ post-install: ${STAGEDIR}${PREFIX}/etc/mplayer/${conf}.conf.sample .endfor -.include +.include + +.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