1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

- Fix build with clang

PR:		185330
Submitted by:	ports fury
This commit is contained in:
Martin Wilke 2014-01-19 13:44:36 +00:00
parent 1be118f047
commit 088cc466d0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=340289
2 changed files with 7 additions and 15 deletions

View File

@ -10,17 +10,19 @@ MASTER_SITES= http://www.hellion.org.uk/source/
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>

View File

@ -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'