Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Apr 2014 20:33:52 GMT
From:      Steve Wills <swills@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        wg@FreeBSD.org
Subject:   ports/188704: [PATCH] multimedia/ffmpeg0: minor fixups
Message-ID:  <201404162033.s3GKXqgo015325@meatwad.mouf.net>
Resent-Message-ID: <201404162040.s3GKe0gL001871@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         188704
>Category:       ports
>Synopsis:       [PATCH] multimedia/ffmpeg0: minor fixups
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 16 20:40:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Steve Wills
>Release:        FreeBSD 11.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD meatwad.mouf.net 11.0-CURRENT FreeBSD 11.0-CURRENT #3 r264228M: Sun Apr 13 03:26:28 UTC
>Description:
- Switch to USES=tar:bzip2
- Fix typo with SDL option
- Don't leave backup files around

Port maintainer (wg@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 1.00.2014.03.23 (mode: change, diff: SVN)
>How-To-Repeat:
>Fix:

--- ffmpeg0-0.7.16.patch begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 351419)
+++ Makefile	(working copy)
@@ -25,8 +25,7 @@
 
 HAS_CONFIGURE=	yes
 CONFIGURE_LOG=	config.err
-USES=		gmake perl5 pkgconfig
-USE_BZIP2=	yes
+USES=		gmake perl5 pkgconfig tar:bzip2
 WANT_SDL=	yes
 USE_LDCONFIG=	${PREFIX}/lib/ffmpeg${FFMPEG_SUFFIX}
 USE_PERL5=	build
@@ -417,7 +416,7 @@
 		${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
 	@${REINPLACE_CMD} -e 's|/usr/bin/perl|${PERL5}|g' \
 		${WRKSRC}/doc/texi2pod.pl
-.if ${PORT_OPTIONS:MDSL}
+.if ${PORT_OPTIONS:MSDL}
 	@${REINPLACE_CMD} -E \
 		-e 's|sdl-config|${SDL_CONFIG}|g' \
 		${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
@@ -464,5 +463,10 @@
 	@${REINPLACE_CMD} \
 		-e 's|libavformat|libavformat0|' \
 		${STAGEDIR}${PREFIX}/libdata/pkgconfig/libavdevice0.pc
+	@${RM}	${STAGEDIR}${PREFIX}/libdata/pkgconfig/libavcodec0.pc.bak \
+		${STAGEDIR}${PREFIX}/libdata/pkgconfig/libpostproc0.pc.bak \
+		${STAGEDIR}${PREFIX}/libdata/pkgconfig/libswscale0.pc.bak \
+		${STAGEDIR}${PREFIX}/libdata/pkgconfig/libavformat0.pc.bak \
+		${STAGEDIR}${PREFIX}/libdata/pkgconfig/libavdevice0.pc.bak
 
 .include <bsd.port.post.mk>
--- ffmpeg0-0.7.16.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404162033.s3GKXqgo015325>