From jbeich@tormail.net  Sun Dec  4 10:24:10 2011
Return-Path: <jbeich@tormail.net>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 9B5291065672
	for <FreeBSD-gnats-submit@freebsd.org>; Sun,  4 Dec 2011 10:24:10 +0000 (UTC)
	(envelope-from jbeich@tormail.net)
Received: from server2.hudsonvalleyhost.com (server2.hudsonvalleyhost.com [66.7.195.77])
	by mx1.freebsd.org (Postfix) with ESMTP id 6BB8F8FC08
	for <FreeBSD-gnats-submit@freebsd.org>; Sun,  4 Dec 2011 10:24:10 +0000 (UTC)
Received: from tor5.anonymizer.ccc.de ([80.237.226.75]:58307 helo=internal.tormail.net)
	by server2.hudsonvalleyhost.com with esmtpsa (TLSv1:RC4-SHA:128)
	(Exim 4.69)
	(envelope-from <jbeich@tormail.net>)
	id 1RX9Ev-003Mvj-0Z
	for FreeBSD-gnats-submit@freebsd.org; Sun, 04 Dec 2011 05:24:10 -0500
Received: from jbeich by internal.tormail.net with local (Exim 4.63)
	(envelope-from <jbeich@tormail.net>)
	id 1RX9EE-0004w4-KX
	for FreeBSD-gnats-submit@freebsd.org; Sun, 04 Dec 2011 10:23:32 +0000
Message-Id: <1RX9EE-0004w4-KX@internal.tormail.net>
Date: Sun, 04 Dec 2011 09:06:59 -0100
From: Jan Beich <jbeich@tormail.net>
To: FreeBSD-gnats-submit@freebsd.org
Subject: [patch] multimedia/ffmpeg: broken without /usr/bin/perl symlink

>Number:         163055
>Category:       ports
>Synopsis:       [patch] multimedia/ffmpeg: broken without /usr/bin/perl symlink
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    mm
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 04 10:30:10 UTC 2011
>Closed-Date:    Fri Jul 06 07:13:37 UTC 2012
>Last-Modified:  Fri Jul 06 07:13:37 UTC 2012
>Originator:     Jan Beich
>Release:        FreeBSD 10.0-CURRENT amd64
>Organization:
>Environment:
>Description:
>How-To-Repeat:
$ make install -C $PORTSDIR/lang/perl5.12 WITHOUT_USE_PERL=
$ make install -C $PORTSDIR/multimedia/ffmpeg
===>  Building for ffmpeg-0.7.8,1
HTML    doc/developer.html
HTML    doc/faq.html
HTML    doc/general.html
HTML    doc/libavfilter.html
HTML    doc/ffmpeg.html
HTML    doc/ffprobe.html
HTML    doc/ffserver.html
POD     doc/ffmpeg.pod
doc/texi2pod.pl: not found
gmake: *** [doc/ffmpeg.pod] Error 127
*** [do-build] Error code 1
>Fix:
--- perl.diff begins here ----
Index: multimedia/ffmpeg/Makefile
===================================================================
RCS file: /a/.csup/ports/multimedia/ffmpeg/Makefile,v
retrieving revision 1.141
diff -u -p -r1.141 Makefile
--- multimedia/ffmpeg/Makefile	2 Dec 2011 14:17:28 -0000	1.141
+++ multimedia/ffmpeg/Makefile	4 Dec 2011 09:28:28 -0000
@@ -405,6 +407,8 @@ pre-configure:
 .endif
 
 post-patch:
+	@${REINPLACE_CMD} -e 's|/usr/bin/perl|${PERL5}|' \
+		${WRKSRC}/doc/texi2pod.pl
 # {C,LD}FLAGS safeness
 	@${REINPLACE_CMD} -e 's|$$(LIBDIR)/pkgconfig|${PREFIX}/libdata/pkgconfig|' \
 		${WRKSRC}/subdir.mak
--- perl.diff ends here ---
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->mm 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sun Dec 4 10:30:20 UTC 2011 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=163055 

From: Jan Beich <jbeich@tormail.net>
To: bug-followup@freebsd.org
Cc:  
Subject: Re: ports/163055: [patch] multimedia/ffmpeg: broken without /usr/bin/perl symlink
Date: Mon, 12 Dec 2011 07:36:14 -0300

 The patch should use ${PERL}, not ${PERL5}. Apparently, bsd.perl.mk
 doesn't allow multiple versions similar to
 
   $ make install PYTHON_VERSION=python3.1
   $ make install RUBY_VER=1.9
 
 --- perl.diff begins here ---
 Index: multimedia/ffmpeg/Makefile
 ===================================================================
 RCS file: /a/.csup/ports/multimedia/ffmpeg/Makefile,v
 retrieving revision 1.141
 diff -u -p -r1.141 Makefile
 --- multimedia/ffmpeg/Makefile	2 Dec 2011 14:17:28 -0000	1.141
 +++ multimedia/ffmpeg/Makefile	12 Dec 2011 10:23:45 -0000
 @@ -405,6 +407,8 @@ pre-configure:
  .endif
  
  post-patch:
 +	@${REINPLACE_CMD} -e 's|/usr/bin/perl|${PERL}|' \
 +		${WRKSRC}/doc/texi2pod.pl
  # {C,LD}FLAGS safeness
  	@${REINPLACE_CMD} -e 's|$$(LIBDIR)/pkgconfig|${PREFIX}/libdata/pkgconfig|' \
  		${WRKSRC}/subdir.mak
 --- perl.diff ends here ---

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/163055: commit references a PR
Date: Fri,  6 Jul 2012 05:10:28 +0000 (UTC)

 mm          2012-07-06 05:10:18 UTC
 
   FreeBSD ports repository
 
   Modified files:
     multimedia/ffmpeg    Makefile 
   Log:
   Fix build without /usr/bin/perl symlink [1]
   Fix build if rtmpdump is linked against OpenSSL from ports [2]
   Do not build documentation if NOPORTDOCS is set
   
   PR:     ports/163055 [1], ports/167516 [2]
   
   Revision  Changes    Path
   1.153     +26 -10    ports/multimedia/ffmpeg/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->closed 
State-Changed-By: mm 
State-Changed-When: Fri Jul 6 07:13:36 UTC 2012 
State-Changed-Why:  
Resolved. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=163055 
>Unformatted:
