Fix mplayer build with update ffmpeg.

Jeremy Messenger mezz7 at cox.net
Wed Jul 30 05:36:12 UTC 2008


Hello folks,

It's rather a hack and I just need it quick. :-)

Change from:
----------------------------------------------
post-configure:
	@${REINPLACE_CMD} -e 's#-pthread#${PTHREAD_LIBS}#g ; \
		${WRKSRC}/config.mak
----------------------------------------------

To:
----------------------------------------------
post-configure:
	@${REINPLACE_CMD} -e 's#-pthread#${PTHREAD_LIBS}#g ; \
		s|= -I/usr/local/|= -I. -I... -I.../libavutil -I/usr/local/|g' \
			${WRKSRC}/config.mak
----------------------------------------------

The better solution is to patch in either configure, Makefile* or *.mak,  
which I don't want to dig in there.

Cheers,
Mezz


-- 
mezz7 at cox.net  -  mezz at FreeBSD.org
FreeBSD GNOME Team
http://www.FreeBSD.org/gnome/  -  gnome at FreeBSD.org


More information about the freebsd-multimedia mailing list