Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 04 Dec 2011 09:06:59 -0100
From:      Jan Beich <jbeich@tormail.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/163055: [patch] multimedia/ffmpeg: broken without /usr/bin/perl symlink
Message-ID:  <1RX9EE-0004w4-KX@internal.tormail.net>
Resent-Message-ID: <201112041030.pB4AUAV9074788@freefall.freebsd.org>

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

>Number:         163055
>Category:       ports
>Synopsis:       [patch] multimedia/ffmpeg: broken without /usr/bin/perl symlink
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 04 10:30:10 UTC 2011
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1RX9EE-0004w4-KX>