From owner-svn-ports-all@FreeBSD.ORG Sat Jan 25 10:39:37 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3BE2F335; Sat, 25 Jan 2014 10:39:37 +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 0DDD514FD; Sat, 25 Jan 2014 10:39:37 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s0PAdaRx050893; Sat, 25 Jan 2014 10:39:36 GMT (envelope-from miwi@svn.freebsd.org) Received: (from miwi@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s0PAdaqp050892; Sat, 25 Jan 2014 10:39:36 GMT (envelope-from miwi@svn.freebsd.org) Message-Id: <201401251039.s0PAdaqp050892@svn.freebsd.org> From: Martin Wilke Date: Sat, 25 Jan 2014 10:39:36 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r341005 - in branches/2014Q1/graphics/xmms-fishmatic: . 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:39:37 -0000 Author: miwi Date: Sat Jan 25 10:39:36 2014 New Revision: 341005 URL: http://svnweb.freebsd.org/changeset/ports/341005 QAT: https://qat.redports.org/buildarchive/r341005/ Log: MFH: r340233 - Fix build with clang PR: 185337 Deleted: branches/2014Q1/graphics/xmms-fishmatic/files/ Modified: branches/2014Q1/graphics/xmms-fishmatic/Makefile (contents, props changed) Directory Properties: branches/2014Q1/ (props changed) Modified: branches/2014Q1/graphics/xmms-fishmatic/Makefile ============================================================================== --- branches/2014Q1/graphics/xmms-fishmatic/Makefile Sat Jan 25 10:37:27 2014 (r341004) +++ branches/2014Q1/graphics/xmms-fishmatic/Makefile Sat Jan 25 10:39:36 2014 (r341005) @@ -11,27 +11,33 @@ DISTNAME= fishmatic MAINTAINER= ports@FreeBSD.org COMMENT= XMMS non-static OpenGL stereogram visualization plugin -BUILD_DEPENDS= xmms-config:${PORTSDIR}/multimedia/xmms -RUN_DEPENDS= xmms:${PORTSDIR}/multimedia/xmms +BUILD_DEPENDS= xmms>0:${PORTSDIR}/multimedia/xmms +RUN_DEPENDS= xmms>0:${PORTSDIR}/multimedia/xmms -PLIST_FILES= lib/xmms/Visualization/libfishmatic.so -USE_GNOME= gtk12 USES= gmake pkgconfig -GNU_CONFIGURE= yes -USE_GL= glut USE_XORG= xext -USE_LDCONFIG= yes +USE_GNOME= gtk12 +USE_GL= glut +USE_AUTOTOOLS= libtool -CONFIGURE_ENV= LIBS="-lGL -lXext ${LIBS}" -CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib +CPPFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib + +PLIST_FILES= lib/xmms/Visualization/libfishmatic.so -NO_STAGE= yes post-patch: + @${REINPLACE_CMD} -e \ + 's|"-lpthread|"-pthread|' ${WRKSRC}/configure + @${REINPLACE_CMD} -e \ + 's|-O2|| ; \ + s|@PNG_LIBS@||' ${WRKSRC}/Makefile.in + +pre-configure: @${RM} -f ${WRKSRC}/config.cache - @${REINPLACE_CMD} -e 's|-O2||; \ - s|-lpthreads|${PTHREAD_LIBS:S/"//g}|g' \ - ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} - @${REINPLACE_CMD} -e 's|-O2||' ${WRKSRC}/Makefile.in - @${REINPLACE_CMD} -e '/objformat=/s|=.*|=elf|' ${WRKSRC}/ltconfig + +do-install: + @${MKDIR} ${STAGEDIR}${PREFIX}/lib/xmms/Visualization + (cd ${WRKSRC}/.libs && ${INSTALL_LIB} libfishmatic.so \ + ${STAGEDIR}${PREFIX}/lib/xmms/Visualization) .include