From owner-svn-ports-all@FreeBSD.ORG Sat Jan 25 10:50:48 2014 Return-Path: Delivered-To: svn-ports-all@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 2F79FA34; Sat, 25 Jan 2014 10:50:48 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (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 01F3D15DD; Sat, 25 Jan 2014 10:50:48 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s0PAolui055791; Sat, 25 Jan 2014 10:50:47 GMT (envelope-from miwi@svn.freebsd.org) Received: (from miwi@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s0PAolTC055790; Sat, 25 Jan 2014 10:50:47 GMT (envelope-from miwi@svn.freebsd.org) Message-Id: <201401251050.s0PAolTC055790@svn.freebsd.org> From: Martin Wilke Date: Sat, 25 Jan 2014 10:50:47 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r341008 - in branches/2014Q1/graphics/xmms-blursk: . files X-SVN-Group: ports-branches MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Jan 2014 10:50:48 -0000 Author: miwi Date: Sat Jan 25 10:50:47 2014 New Revision: 341008 URL: http://svnweb.freebsd.org/changeset/ports/341008 QAT: https://qat.redports.org/buildarchive/r341008/ Log: MFH: r340236 - Fix build with clang PR: 185350 Submitted by: ports fury Deleted: branches/2014Q1/graphics/xmms-blursk/files/ Modified: branches/2014Q1/graphics/xmms-blursk/Makefile (contents, props changed) Directory Properties: branches/2014Q1/ (props changed) Modified: branches/2014Q1/graphics/xmms-blursk/Makefile ============================================================================== --- branches/2014Q1/graphics/xmms-blursk/Makefile Sat Jan 25 10:46:21 2014 (r341007) +++ branches/2014Q1/graphics/xmms-blursk/Makefile Sat Jan 25 10:50:47 2014 (r341008) @@ -12,22 +12,34 @@ DISTNAME= Blursk-${PORTVERSION} 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