mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
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)
This commit is contained in:
parent
39d38dc020
commit
5108906a51
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=332095
1 changed files with 2 additions and 1 deletions
|
@ -27,7 +27,8 @@ CONFIGURE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
|
|||
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 \
|
||||
|
|
Loading…
Add table
Reference in a new issue