From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Dec 30 21:10:06 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5C1E1F38 for ; Mon, 30 Dec 2013 21:10:06 +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 3A8461024 for ; Mon, 30 Dec 2013 21:10:06 +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 rBULA6NO098743 for ; Mon, 30 Dec 2013 21:10:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id rBULA68c098742; Mon, 30 Dec 2013 21:10:06 GMT (envelope-from gnats) Resent-Date: Mon, 30 Dec 2013 21:10:06 GMT Resent-Message-Id: <201312302110.rBULA68c098742@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, KATO Tsuguru Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C4F70A29 for ; Mon, 30 Dec 2013 21:01:00 +0000 (UTC) Received: from omta01.auone-net.jp (mail-or0-f67.auone-net.jp [106.187.230.67]) by mx1.freebsd.org (Postfix) with ESMTP id 97A4E1F1F for ; Mon, 30 Dec 2013 21:01:00 +0000 (UTC) Received: from coppermine.my.domain (ZT028061.ppp.dion.ne.jp [59.128.28.61]) by omta01.auone-net.jp (au one net mail) with ESMTP id 308BB9800D1 for ; Tue, 31 Dec 2013 06:00:59 +0900 (JST) Message-Id: <20131231054634.8a90b318df6ba7b800407160@yahoo.com> Date: Tue, 31 Dec 2013 05:46:34 +0900 From: KATO Tsuguru To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/185328: audio/xmms-modplug: Fix build with clang X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Dec 2013 21:10:06 -0000 >Number: 185328 >Category: ports >Synopsis: audio/xmms-modplug: 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:05 UTC 2013 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 8.4-RELEASE-p4 i386 >Organization: >Environment: >Description: - Fix build with clang New file: files/patch-modplugxmms__modplugxmms.h >How-To-Repeat: >Fix: diff -urN /usr/ports/audio/xmms-modplug/Makefile audio/xmms-modplug/Makefile --- /usr/ports/audio/xmms-modplug/Makefile 2013-12-12 02:41:41.000000000 +0900 +++ audio/xmms-modplug/Makefile 2013-12-31 00:00:00.000000000 +0900 @@ -12,21 +12,23 @@ MAINTAINER= ports@FreeBSD.org COMMENT= ModPlug-based plugin for XMMS -LIB_DEPENDS?= libxmms.so:${PORTSDIR}/multimedia/xmms -LIB_DEPENDS+= modplug:${PORTSDIR}/audio/libmodplug +BUILD_DEPENDS= xmms>0:${PORTSDIR}/multimedia/xmms +LIB_DEPENDS= libmodplug.so:${PORTSDIR}/audio/libmodplug +RUN_DEPENDS= xmms>0:${PORTSDIR}/multimedia/xmms USES= pkgconfig -NO_STAGE= yes +USE_AUTOTOOLS= libtool USE_LDCONFIG= yes -HAS_CONFIGURE= yes -PLUGDIR?= lib/xmms/Input -PLIST_FILES= ${PLUGDIR}/libmodplugxmms.so + +PLIST_FILES= lib/xmms/Input/libmodplugxmms.so post-patch: - @${REINPLACE_CMD} -e '/objformat=/s|=.*|=elf|' ${WRKSRC}/configure + @${REINPLACE_CMD} -e \ + 's|-lstdc++||' ${WRKSRC}/modplugxmms/Makefile.in do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/modplugxmms/.libs/libmodplugxmms.so \ - ${PREFIX}/${PLUGDIR} + @${MKDIR} ${STAGEDIR}${PREFIX}/lib/xmms/Input + (cd ${WRKSRC}/modplugxmms/.libs && ${INSTALL_LIB} libmodplugxmms.so \ + ${STAGEDIR}${PREFIX}/lib/xmms/Input) .include diff -urN /usr/ports/audio/xmms-modplug/files/patch-modplugxmms__modplugxmms.h audio/xmms-modplug/files/patch-modplugxmms__modplugxmms.h --- /usr/ports/audio/xmms-modplug/files/patch-modplugxmms__modplugxmms.h 1970-01-01 09:00:00.000000000 +0900 +++ audio/xmms-modplug/files/patch-modplugxmms__modplugxmms.h 2013-12-31 00:00:00.000000000 +0900 @@ -0,0 +1,10 @@ +--- modplugxmms/modplugxmms.h.orig ++++ modplugxmms/modplugxmms.h +@@ -8,6 +8,7 @@ + #define __MODPLUGXMMS_CMODPLUGXMMS_H_INCLUDED__ + + #include ++#include + + #ifndef __MODPLUGXMMS_STDDEFS_H__INCLUDED__ + #include "stddefs.h" >Release-Note: >Audit-Trail: >Unformatted: