From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Jan 25 10:50:01 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BAABB9CF for ; Sat, 25 Jan 2014 10:50:01 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 99A3315D4 for ; Sat, 25 Jan 2014 10:50:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s0PAo158080730 for ; Sat, 25 Jan 2014 10:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id s0PAo1Lb080729; Sat, 25 Jan 2014 10:50:01 GMT (envelope-from gnats) Date: Sat, 25 Jan 2014 10:50:01 GMT Message-Id: <201401251050.s0PAo1Lb080729@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org Cc: From: dfilter@FreeBSD.ORG (dfilter service) Subject: Re: ports/185340: commit references a PR X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: dfilter service List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Jan 2014 10:50:01 -0000 The following reply was made to PR ports/185340; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: ports/185340: commit references a PR Date: Sat, 25 Jan 2014 10:42:06 +0000 (UTC) Author: miwi Date: Sat Jan 25 10:41:57 2014 New Revision: 341006 URL: http://svnweb.freebsd.org/changeset/ports/341006 QAT: https://qat.redports.org/buildarchive/r341006/ Log: MFH: r340234 - Fix build with clang PR: 185340 Submitted by: ports fury Modified: branches/2014Q1/audio/xmms-wma/Makefile Directory Properties: branches/2014Q1/ (props changed) Modified: branches/2014Q1/audio/xmms-wma/Makefile ============================================================================== --- branches/2014Q1/audio/xmms-wma/Makefile Sat Jan 25 10:39:36 2014 (r341005) +++ branches/2014Q1/audio/xmms-wma/Makefile Sat Jan 25 10:41:57 2014 (r341006) @@ -3,7 +3,7 @@ PORTNAME= xmms-wma PORTVERSION= 1.0.5 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= audio MASTER_SITES= http://mcmcc.bat.ru/xmms-wma/ @@ -12,38 +12,54 @@ COMMENT= WMA plugin for xmms LIB_DEPENDS= libxmms.so:${PORTSDIR}/multimedia/xmms -USES= gmake -NO_STAGE= yes -USE_BZIP2= yes -CFLAGS+= -fPIC -DPIC +OPTIONS_DEFINE= ICONV +OPTIONS_DEFAULT=ICONV + ONLY_FOR_ARCHS= i386 amd64 sparc64 + +USE_BZIP2= yes +USES= compiler gmake USE_XORG= xi xext x11 +USE_CSTD= gnu89 +USE_LDCONFIG= yes + +CFLAGS+= -fPIC -DPIC PLIST_FILES= lib/xmms/Input/libwma.so -USE_LDCONFIG= yes -.if defined(WITH_ICONV) +.include + +.if ${PORT_OPTIONS:MICONV} +USES+= iconv CFLAGS+= -DUSE_ICONV -USES= iconv .endif .include -pre-everything:: -.if !defined(WITH_ICONV) - @${ECHO_MSG} "You may specify the following on the command line:" - @${ECHO_MSG} " " - @${ECHO_MSG} "WITH_ICONV=yes Enable tag recoding support using iconv" - @${ECHO_MSG} " " +.if ${CHOSEN_COMPILER_TYPE} == "clang" +CFLAGS+= -D__inline__= .endif post-extract: - @${REINPLACE_CMD} -e 's|gcc|${CC}|g' ${WRKSRC}/Makefile.inc - @${REINPLACE_CMD} -e 's|gcc|${CC}|g' ${WRKSRC}/ffmpeg-strip-wma/config.mak - @${REINPLACE_CMD} -e 's|CFLAGS :=|CFLAGS := ${CFLAGS}|g' ${WRKSRC}/Makefile.inc -.if ${ARCH}=="sparc64" - @${REINPLACE_CMD} -e 's|X86|SPARC64|' ${WRKSRC}/ffmpeg-strip-wma/config.mak - @${REINPLACE_CMD} -e 's|#define ARCH_X86 1|#define ARCH_SPARC64 1|' ${WRKSRC}/ffmpeg-strip-wma/config.h + @${REINPLACE_CMD} -e \ + 's|^CC :=|CC ?=| ; \ + s|^CFLAGS :=|CFLAGS += | ; \ + s|-O[0-9]||' ${WRKSRC}/Makefile.inc + @${REINPLACE_CMD} -e \ + 's|^MAKE=|MAKE?=| ; \ + s|^CC=|CC?=| ; \ + s|-O[0-9]||' ${WRKSRC}/ffmpeg-strip-wma/config.mak +.if ${ARCH} == "sparc64" + @${REINPLACE_CMD} -e \ + s|X86|SPARC64|' ${WRKSRC}/ffmpeg-strip-wma/config.mak + @${REINPLACE_CMD} -e \ + 's|#define ARCH_X86 1|#define ARCH_SPARC64 1|' \ + ${WRKSRC}/ffmpeg-strip-wma/config.h .endif +do-install: + @${MKDIR} ${STAGEDIR}${PREFIX}/lib/xmms/Input + (cd ${WRKSRC} && ${INSTALL_LIB} libwma.so \ + ${STAGEDIR}${PREFIX}/lib/xmms/Input) + .include _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"