Date: Thu, 27 Aug 2015 16:59:25 +0000 (UTC) From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r395436 - head/multimedia/mplayer2 Message-ID: <201508271659.t7RGxPfn044921@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jbeich Date: Thu Aug 27 16:59:25 2015 New Revision: 395436 URL: https://svnweb.freebsd.org/changeset/ports/395436 Log: multimedia/mplayer2: respect LIBS While here clean up unnecessary -lfoo due to --enable-foo not populating --extra-libs. PR: 202404 Submitted by: Carlos J Puga Medina <cpm@fbsd.es> (maintainer) Modified: head/multimedia/mplayer2/Makefile (contents, props changed) Modified: head/multimedia/mplayer2/Makefile ============================================================================== --- head/multimedia/mplayer2/Makefile Thu Aug 27 16:59:09 2015 (r395435) +++ head/multimedia/mplayer2/Makefile Thu Aug 27 16:59:25 2015 (r395436) @@ -23,9 +23,8 @@ USES= cpe gmake iconv ncurses pkgconfig HAS_CONFIGURE= yes CONFIGURE_ENV= TMPDIR="${WRKSRC}" CONFIGURE_ARGS= --cc=${CC} \ - --extra-libs='-lavresample ${PORTAUDIOLIB}' \ + --extra-libs='${LIBS}' \ --mandir=${PREFIX}/man \ - --enable-libavresample \ --disable-alsa \ --disable-liba52 \ --disable-directfb \ @@ -134,7 +133,6 @@ CONFIGURE_ARGS+= --disable-pulse .if ${PORT_OPTIONS:MPORTAUDIO} LIB_DEPENDS+= libportaudio.so:${PORTSDIR}/audio/portaudio -PORTAUDIOLIB= -lportaudio .else CONFIGURE_ARGS+= --disable-portaudio .endif @@ -185,15 +183,11 @@ CONFIGURE_ARGS+= --disable-real #BUILD_DEPENDS+= ${LOCALBASE}/include/linux/videodev2.h:${PORTSDIR}/multimedia/v4l_compat #LIB_DEPENDS+= libv4l2.so:${PORTSDIR}/multimedia/libv4l #CONFIGURE_ARGS+= --enable-tv-v4l2 -#EXTRA_LIBS+= -lv4l2 +#LIBS+= -lv4l2 #.else CONFIGURE_ARGS+= --disable-tv-v4l2 #.endif -#.if defined(EXTRA_LIBS) -#CONFIGURE_ARGS+= --extra-libs="${EXTRA_LIBS}" -#.endif - .if ${PORT_OPTIONS:MASS} LIB_DEPENDS+= libass.so:${PORTSDIR}/multimedia/libass .else
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201508271659.t7RGxPfn044921>