From owner-svn-ports-all@FreeBSD.ORG Wed Oct 30 11:29:20 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 71065D46; Wed, 30 Oct 2013 11:29:20 +0000 (UTC) (envelope-from marino@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5F07A2877; Wed, 30 Oct 2013 11:29:20 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r9UBTKuZ042993; Wed, 30 Oct 2013 11:29:20 GMT (envelope-from marino@svn.freebsd.org) Received: (from marino@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r9UBTKgA042992; Wed, 30 Oct 2013 11:29:20 GMT (envelope-from marino@svn.freebsd.org) Message-Id: <201310301129.r9UBTKgA042992@svn.freebsd.org> From: John Marino Date: Wed, 30 Oct 2013 11:29:20 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r332095 - head/multimedia/mplayer2 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Oct 2013 11:29:20 -0000 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 \