Date: Tue, 31 Dec 2013 05:48:10 +0900 From: KATO Tsuguru <tkato432@yahoo.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/185330: multimedia/xmms-status-plugin: Fix build with clang Message-ID: <20131231054810.f9e593e21698b759ca306f60@yahoo.com> Resent-Message-ID: <201312302110.rBULA6C3098764@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 185330 >Category: ports >Synopsis: multimedia/xmms-status-plugin: Fix build with clang >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Dec 30 21:10:06 UTC 2013 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 8.4-RELEASE-p4 i386 >Organization: >Environment: >Description: - Fix build with clang - Add LICENSE >How-To-Repeat: >Fix: diff -urN /usr/ports/multimedia/xmms-status-plugin/Makefile multimedia/xmms-status-plugin/Makefile --- /usr/ports/multimedia/xmms-status-plugin/Makefile 2013-11-06 21:59:41.000000000 +0900 +++ multimedia/xmms-status-plugin/Makefile 2013-12-31 00:00:00.000000000 +0900 @@ -10,17 +10,19 @@ MAINTAINER= ports@FreeBSD.org COMMENT= XMMS control applet for GNOME 2 panel / KDE tray -LIB_DEPENDS= xmms.4:${PORTSDIR}/multimedia/xmms +LICENSE= GPLv2 # (or later) +LIB_DEPENDS= libxmms.so:${PORTSDIR}/multimedia/xmms + +USES= gettext gmake USE_XORG= x11 xpm -USE_GMAKE= yes -USE_LDCONFIG= yes +USE_CSTD= gnu89 USE_AUTOTOOLS= libtool + CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -NO_STAGE= yes post-patch: - ${REINPLACE_CMD} -e 's,-Werror,,' ${WRKSRC}/configure + @${REINPLACE_CMD} -e 's,-Werror,,' ${WRKSRC}/configure .include <bsd.port.mk> diff -urN /usr/ports/multimedia/xmms-status-plugin/files/patch-configure multimedia/xmms-status-plugin/files/patch-configure --- /usr/ports/multimedia/xmms-status-plugin/files/patch-configure 2013-11-06 21:59:41.000000000 +0900 +++ multimedia/xmms-status-plugin/files/patch-configure 1970-01-01 09:00:00.000000000 +0900 @@ -1,10 +0,0 @@ ---- configure.orig Wed Dec 11 18:31:51 2002 -+++ configure Thu Dec 12 12:07:17 2002 -@@ -7414,6 +7414,7 @@ - - # This can be used to rebuild libtool when needed - LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" -+$ac_aux_dir/ltconfig $LIBTOOL_DEPS - - # Always use our own libtool. - LIBTOOL='$(SHELL) $(top_builddir)/libtool' >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131231054810.f9e593e21698b759ca306f60>