Date: Sun, 19 Jan 2014 08:59:36 +0000 (UTC) From: Martin Wilke <miwi@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r340236 - in head/graphics/xmms-blursk: . files Message-ID: <201401190859.s0J8xak6012731@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: miwi Date: Sun Jan 19 08:59:36 2014 New Revision: 340236 URL: http://svnweb.freebsd.org/changeset/ports/340236 QAT: https://qat.redports.org/buildarchive/r340236/ Log: - Fix build with clang PR: 185350 Submitted by: ports fury Deleted: head/graphics/xmms-blursk/files/ Modified: head/graphics/xmms-blursk/Makefile (contents, props changed) Modified: head/graphics/xmms-blursk/Makefile ============================================================================== --- head/graphics/xmms-blursk/Makefile Sun Jan 19 08:58:54 2014 (r340235) +++ head/graphics/xmms-blursk/Makefile Sun Jan 19 08:59:36 2014 (r340236) @@ -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?201401190859.s0J8xak6012731>