From owner-svn-ports-all@FreeBSD.ORG Tue Jun 23 14:14:01 2015 Return-Path: Delivered-To: svn-ports-all@nevdull.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 02EF7C04; Tue, 23 Jun 2015 14:14:01 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) 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)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E502E971; Tue, 23 Jun 2015 14:14:00 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t5NEE03t056418; Tue, 23 Jun 2015 14:14:00 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t5NEE01r056417; Tue, 23 Jun 2015 14:14:00 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201506231414.t5NEE01r056417@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Tue, 23 Jun 2015 14:14:00 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r390412 - head/audio/gspeakers X-SVN-Group: ports-head 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.20 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: Tue, 23 Jun 2015 14:14:01 -0000 Author: amdmi3 Date: Tue Jun 23 14:14:00 2015 New Revision: 390412 URL: https://svnweb.freebsd.org/changeset/ports/390412 Log: - Switch to USES=autoreconf - Turn WITH_SPICE into an option Modified: head/audio/gspeakers/Makefile Modified: head/audio/gspeakers/Makefile ============================================================================== --- head/audio/gspeakers/Makefile Tue Jun 23 14:13:38 2015 (r390411) +++ head/audio/gspeakers/Makefile Tue Jun 23 14:14:00 2015 (r390412) @@ -4,7 +4,7 @@ PORTNAME= gspeakers PORTVERSION= 0.11 -PORTREVISION= 15 +PORTREVISION= 16 CATEGORIES= audio MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} @@ -13,16 +13,20 @@ COMMENT= Gnome-based loudspeaker design LIB_DEPENDS= libgtkmm-2.4.so:${PORTSDIR}/x11-toolkits/gtkmm24 -USES= gmake pkgconfig +USES= autoreconf gmake pkgconfig USE_GNOME= gnomeprefix libxml2 -USE_AUTOTOOLS= automake:env GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib CFLAGS+= -O0 -.if defined(WITH_SPICE) +OPTIONS_DEFINE= SPICE +SPICE_DESC= Use spice instead of gnucap + +.include + +.if ${PORT_OPTIONS:MSPICE} RUN_DEPENDS+= spice3:${PORTSDIR}/cad/spice .else RUN_DEPENDS+= gnucap:${PORTSDIR}/cad/gnucap @@ -33,15 +37,12 @@ post-extract: post-patch: @${REINPLACE_CMD} -e 's|$$(datadir)/pixmaps|$$(pkgdatadir)/pixmaps|g' \ - ${WRKSRC}/pixmaps/Makefile.in + ${WRKSRC}/pixmaps/Makefile.am @${REINPLACE_CMD} -e 's|-Wall -O0|@CXXFLAGS@|g' \ - ${WRKSRC}/src/Makefile.in + ${WRKSRC}/src/Makefile.am @${REINPLACE_CMD} -e 's|$$(datadir)/xml|$$(pkgdatadir)/xml|g' \ - ${WRKSRC}/xml/Makefile.in + ${WRKSRC}/xml/Makefile.am @${REINPLACE_CMD} -e 's|glib/.*\.h>|glib.h>|g' \ ${WRKSRC}/src/*.cc ${WRKSRC}/src/cellitemcrossover.h -pre-configure: - @${CP} ${AUTOMAKE_DIR}/depcomp ${WRKSRC} - .include