Date: Sat, 25 Jan 2014 10:50:47 +0000 (UTC) From: Martin Wilke <miwi@FreeBSD.org> 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 Message-ID: <201401251050.s0PAolTC055790@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.pre.mk> + +.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 <bsd.port.mk> +do-install: + @${MKDIR} ${STAGEDIR}${PREFIX}/lib/xmms/Visualization + (cd ${WRKSRC}/.libs && ${INSTALL_LIB} libblursk.so \ + ${STAGEDIR}${PREFIX}/lib/xmms/Visualization) + +.include <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401251050.s0PAolTC055790>