ports/185330: multimedia/xmms-status-plugin: Fix build with clang
KATO Tsuguru
tkato432 at yahoo.com
Mon Dec 30 21:10:07 UTC 2013
>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 at 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:
More information about the freebsd-ports-bugs
mailing list