Unbreak from my previous update.

Additionally, unbreak when our stale ffmpeg-devel happens to be installed.
This commit is contained in:
Eric Anholt 2007-03-09 20:15:12 +00:00
parent f562e3fa3e
commit bd05a72dfb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=187041
2 changed files with 5 additions and 3 deletions

View file

@ -17,8 +17,6 @@ COMMENT= Flash Rendering Library
LIB_DEPENDS= mad.2:${PORTSDIR}/audio/libmad \
oil-0.3.1:${PORTSDIR}/devel/liboil
BROKEN= Incomplete pkg-plist
USE_XLIB= yes
USE_SDL= sdl
USE_GNOME= gnomehack gtk20
@ -36,6 +34,8 @@ PLIST_SUB= VERSION=${PORTVERSION:R}
post-patch:
@${REINPLACE_CMD} -e "s,int16_t,__int16_t," ${WRKSRC}/libswfdec/swfdec_shape.c
@${REINPLACE_CMD} -e 's|plugin||g' ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e "s|sdl-config|${SDL_CONFIG:T}|g" ${WRKSRC}/configure
@${REINPLACE_CMD} -e "s|sdl-config|${SDL_CONFIG:T}|g" \
-e 's|libavcodec|libavcodec-nonfreebsd|g' \
${WRKSRC}/configure
.include <bsd.port.mk>

View file

@ -23,4 +23,6 @@ share/gtk-doc/html/swfdec/swfdec-SwfdecBuffer.html
share/gtk-doc/html/swfdec/swfdec.devhelp
share/gtk-doc/html/swfdec/swfdec.devhelp2
share/gtk-doc/html/swfdec/up.png
@dirrm share/gtk-doc/html/swfdec
@dirrm include/swfdec-%%VERSION%%/libswfdec
@dirrm include/swfdec-%%VERSION%%