Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jul 2008 00:20:46 -0500
From:      "Jeremy Messenger" <mezz7@cox.net>
To:        freebsd-multimedia@freebsd.org
Subject:   Fix mplayer build with update ffmpeg.
Message-ID:  <op.ue3agwgh9aq2h7@mezz.mezzweb.com>

next in thread | raw e-mail | index | archive | help
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@cox.net  -  mezz@FreeBSD.org
FreeBSD GNOME Team
http://www.FreeBSD.org/gnome/  -  gnome@FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.ue3agwgh9aq2h7>