svn commit: r332095 - head/multimedia/mplayer2

John Marino marino at FreeBSD.org
Wed Oct 30 11:29:20 UTC 2013


Author: marino
Date: Wed Oct 30 11:29:19 2013
New Revision: 332095
URL: http://svnweb.freebsd.org/changeset/ports/332095

Log:
  multimedia/mplayer2: fix configure failure, indirect linking
  
  As seen when using gcc48 as the ports compiler (and on DragonFly),
  mplayer2 was misconfigured.  The avresample library doesn't exist
  during configuration, thus it will fail when using a modern
  linker that complains that the library isn't found.
  
  Moving -lavresample from extra-ldflags to extra-libs fixes the
  problem on both FreeBSD+gcc48 and DragonFly
  
  Approved by:	portmgr (bapt, implicit)

Modified:
  head/multimedia/mplayer2/Makefile

Modified: head/multimedia/mplayer2/Makefile
==============================================================================
--- head/multimedia/mplayer2/Makefile	Wed Oct 30 11:28:20 2013	(r332094)
+++ head/multimedia/mplayer2/Makefile	Wed Oct 30 11:29:19 2013	(r332095)
@@ -27,7 +27,8 @@ CONFIGURE_ENV=	PTHREAD_CFLAGS="${PTHREAD
 		TMPDIR="${WRKSRC}"
 CONFIGURE_ARGS=	--cc=${CC} \
 		--extra-cflags='-I${LOCALBASE}/include/portaudio2' \
-		--extra-ldflags='-lavresample -L${LOCALBASE}/lib/portaudio2' \
+		--extra-libs='-lavresample' \
+		--extra-ldflags='-L${LOCALBASE}/lib/portaudio2' \
 		--mandir=${PREFIX}/man \
 		--enable-libavresample \
 		--disable-alsa \


More information about the svn-ports-all mailing list