Date: Fri, 26 Jul 2013 14:31:26 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r323724 - head/audio/osd-lyrics Message-ID: <201307261431.r6QEVQ5s059996@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Fri Jul 26 14:31:26 2013 New Revision: 323724 URL: http://svnweb.freebsd.org/changeset/ports/323724 Log: Add an explicit dependency on iconv and pkgconfig Fix build with newer binutils Use options helpers Modified: head/audio/osd-lyrics/Makefile Modified: head/audio/osd-lyrics/Makefile ============================================================================== --- head/audio/osd-lyrics/Makefile Fri Jul 26 14:29:35 2013 (r323723) +++ head/audio/osd-lyrics/Makefile Fri Jul 26 14:31:26 2013 (r323724) @@ -22,35 +22,25 @@ CONFIGURE_ENV= DATADIRNAME=share # Cannot enable -Werror yet: Clang does not like the code `printf(_("..."))', # see this bug for details: http://llvm.org/bugs/show_bug.cgi?id=3814 #CONFIGURE_ARGS= --with-werror -USES= gettext -USE_GMAKE= yes +USES= gettext gmake iconv pkgconfig USE_GNOME= gtk20 USE_SQLITE= yes INSTALLS_ICONS= yes PORTDOCS= AUTHORS ChangeLog NEWS README +LDFLAGS= -liconv OPTIONS_DEFINE= DOCS MPD XMMS2 AMAROK MPD_DESC= Enable MPD support XMMS2_DESC= Enable XMMS2 support AMAROK_DESC= Enable Amarok 1.4 support -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MMPD} -LIB_DEPENDS+= mpd:${PORTSDIR}/audio/libmpd -.else -CONFIGURE_ARGS+= --disable-mpd -.endif +MPD_LIB_DEPENDS= mpd:${PORTSDIR}/audio/libmpd +MPD_CONFIGURE_OFF= --disable-mpd +XMMS2_LIB_DEPENDS= xmmsclient:${PORTSDIR}/audio/xmms2 +XMMS2_CONFIGURE_OFF= --disable-xmms2 +AMAROK_CONFIGURE_ENABLE= amarok1 -.if ${PORT_OPTIONS:MXMMS2} -LIB_DEPENDS+= xmmsclient:${PORTSDIR}/audio/xmms2 -.else -CONFIGURE_ARGS+= --disable-xmms2 -.endif - -.if ${PORT_OPTIONS:MAMAROK} -CONFIGURE_ARGS+= --enable-amarok1 -.endif +.include <bsd.port.options.mk> post-install: .if ${PORT_OPTIONS:MDOCS}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307261431.r6QEVQ5s059996>