From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Dec 30 21:10:13 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 4C794FBD for ; Mon, 30 Dec 2013 21:10:13 +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 2B48E1079 for ; Mon, 30 Dec 2013 21:10:13 +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 rBULAD8C098965 for ; Mon, 30 Dec 2013 21:10:13 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id rBULAD6M098964; Mon, 30 Dec 2013 21:10:13 GMT (envelope-from gnats) Resent-Date: Mon, 30 Dec 2013 21:10:13 GMT Resent-Message-Id: <201312302110.rBULAD6M098964@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 529E7A42 for ; Mon, 30 Dec 2013 21:02:02 +0000 (UTC) Received: from omta01.auone-net.jp (mail-or2-f145.auone-net.jp [111.87.219.145]) by mx1.freebsd.org (Postfix) with ESMTP id 26A6A1F84 for ; Mon, 30 Dec 2013 21:02:01 +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 31C029800C9 for ; Tue, 31 Dec 2013 06:02:00 +0900 (JST) Message-Id: <20131231054738.83d98058f92407181ec205c1@yahoo.com> Date: Tue, 31 Dec 2013 05:47:38 +0900 From: KATO Tsuguru To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/185350: graphics/xmms-blursk: 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:13 -0000 >Number: 185350 >Category: ports >Synopsis: graphics/xmms-blursk: 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:12 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 Remove file: files/patch-ltmain.sh >How-To-Repeat: >Fix: diff -urN /usr/ports/graphics/xmms-blursk/Makefile graphics/xmms-blursk/Makefile --- /usr/ports/graphics/xmms-blursk/Makefile 2013-11-06 22:01:52.000000000 +0900 +++ graphics/xmms-blursk/Makefile 2013-12-31 00:00:00.000000000 +0900 @@ -12,22 +12,34 @@ MAINTAINER= ports@FreeBSD.org COMMENT= XMMS plugin inspired by "Blur Scope" -BUILD_DEPENDS= xmms-config:${PORTSDIR}/multimedia/xmms -RUN_DEPENDS= xmms:${PORTSDIR}/multimedia/xmms +LICENSE= GPLv2 # (or later) -PLIST_FILES= lib/xmms/Visualization/libblursk.so -USE_GNOME= gtk12 +BUILD_DEPENDS= xmms>0:${PORTSDIR}/multimedia/xmms +RUN_DEPENDS= xmms>0:${PORTSDIR}/multimedia/xmms + +USES= compiler USE_XORG= x11 xv -GNU_CONFIGURE= yes +USE_GNOME= gtk12 +USE_AUTOTOOLS= libtool USE_LDCONFIG= yes -CPPFLAGS+= ${CFLAGS} ${PTHREAD_CFLAGS} +PLIST_FILES= lib/xmms/Visualization/libblursk.so + +.include + +.if ${ARCH} == "i386" && ${COMPILER_TYPE} == "clang" +USE_BINUTILS= yes +CPPFLAGS+= -no-integrated-as +.endif -NO_STAGE= yes post-patch: - @${REINPLACE_CMD} -e 's|-O2||' \ - ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} \ - ${BUILD_WRKSRC}/Makefile.in - @${REINPLACE_CMD} -e '/objformat=/s|=.*|=elf|' ${WRKSRC}/configure + @${REINPLACE_CMD} -e \ + 's|-O2|| ; \ + s|@PTHREAD_LIBS@||' ${WRKSRC}/Makefile.in -.include +do-install: + @${MKDIR} ${STAGEDIR}${PREFIX}/lib/xmms/Visualization + (cd ${WRKSRC}/.libs && ${INSTALL_LIB} libblursk.so \ + ${STAGEDIR}${PREFIX}/lib/xmms/Visualization) + +.include diff -urN /usr/ports/graphics/xmms-blursk/files/patch-ltmain.sh graphics/xmms-blursk/files/patch-ltmain.sh --- /usr/ports/graphics/xmms-blursk/files/patch-ltmain.sh 2013-11-06 22:01:52.000000000 +0900 +++ graphics/xmms-blursk/files/patch-ltmain.sh 1970-01-01 09:00:00.000000000 +0900 @@ -1,16 +0,0 @@ ---- ltmain.sh.orig Thu Apr 25 22:13:38 2002 -+++ ltmain.sh Thu Apr 25 22:13:56 2002 -@@ -4246,11 +4246,13 @@ - IFS="$save_ifs" - fi - -+ if /usr/bin/false; then - # Install the pseudo-library for information purposes. - name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` - instname="$dir/$name"i - $show "$install_prog $instname $destdir/$name" - $run eval "$install_prog $instname $destdir/$name" || exit $? -+ fi - - # Maybe install the static library, too. - test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library" >Release-Note: >Audit-Trail: >Unformatted: