Get it links with -lavcodec instead of libavcodec.a to fix the runtime of
mp4player and gmp4player to run video file. Bump the PORTREVISION. Reported by: Heiko Recktenwald <uzs106@uni-bonn.de>
This commit is contained in:
parent
451c555931
commit
a538fd9334
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=192652
1 changed files with 4 additions and 2 deletions
|
@ -7,7 +7,7 @@
|
|||
|
||||
PORTNAME= mpeg4ip
|
||||
PORTVERSION= 1.5.0.1
|
||||
PORTREVISION= 4
|
||||
PORTREVISION= 5
|
||||
CATEGORIES= multimedia audio ipv6 net
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
|
@ -137,7 +137,7 @@ PLIST_SUB+= XVID="@comment "
|
|||
.endif
|
||||
|
||||
post-patch:
|
||||
${TOUCH} -f ${WRKSRC}/bootstrapped
|
||||
@${TOUCH} -f ${WRKSRC}/bootstrapped
|
||||
# don't compile or use libmp4v2
|
||||
@${REINPLACE_CMD} -e 's|mp4v2||; s|gnu||; s|mp4av||' \
|
||||
${WRKSRC}/lib/Makefile.in
|
||||
|
@ -182,6 +182,8 @@ post-patch:
|
|||
${WRKSRC}/doc/mp4v2/Makefile.in
|
||||
# objformat
|
||||
@${FIND} ${WRKSRC} -name configure | ${XARGS} ${REINPLACE_CMD} -e 's|echo aout|echo elf|'
|
||||
@${REINPLACE_CMD} -e 's|$${enable_ffmpeg}/lib/libavcodec.a|-lavcodec|g' \
|
||||
${WRKSRC}/configure
|
||||
|
||||
post-install:
|
||||
@${MKDIR} ${DATADIR}
|
||||
|
|
Loading…
Reference in a new issue