Bug 163055 - [patch] multimedia/ffmpeg: broken without /usr/bin/perl symlink
Summary: [patch] multimedia/ffmpeg: broken without /usr/bin/perl symlink
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Martin Matuska
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-04 10:30 UTC by Jan Beich
Modified: 2012-07-06 08:13 UTC (History)
0 users

See Also:


Attachments
perl.diff (596 bytes, patch)
2011-12-04 10:30 UTC, Jan Beich
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Beich freebsd_committer freebsd_triage 2011-12-04 10:30:10 UTC

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
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2011-12-04 10:30:20 UTC
Responsible Changed
From-To: freebsd-ports-bugs->mm

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Jan Beich freebsd_committer freebsd_triage 2011-12-12 10:36:14 UTC
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 ---
Comment 3 dfilter service freebsd_committer freebsd_triage 2012-07-06 06:10:28 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"
Comment 4 Martin Matuska freebsd_committer freebsd_triage 2012-07-06 08:13:36 UTC
State Changed
From-To: open->closed

Resolved. Thanks!