svn commit: r417754 - head/multimedia/mplayer2
Carlos J. Puga Medina
cpm at FreeBSD.org
Wed Jun 29 01:50:10 UTC 2016
Author: cpm
Date: Wed Jun 29 01:50:08 2016
New Revision: 417754
URL: https://svnweb.freebsd.org/changeset/ports/417754
Log:
- 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
Modified:
head/multimedia/mplayer2/Makefile
Modified: head/multimedia/mplayer2/Makefile
==============================================================================
--- head/multimedia/mplayer2/Makefile Wed Jun 29 01:17:15 2016 (r417753)
+++ head/multimedia/mplayer2/Makefile Wed Jun 29 01:50:08 2016 (r417754)
@@ -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 <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>
More information about the svn-ports-head
mailing list