ports/163055: [patch] multimedia/ffmpeg: broken without /usr/bin/perl symlink

Jan Beich jbeich at tormail.net
Sun Dec 4 10:30:11 UTC 2011


>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:



More information about the freebsd-ports-bugs mailing list