public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download mbox.gz: |
* [gentoo-commits] gentoo-x86 commit in sys-block/fio: ChangeLog fio-2.1.2.ebuild
@ 2013-08-29  9:05 99% Sergey Popov (pinkbyte)
  0 siblings, 0 replies; 1+ results
From: Sergey Popov (pinkbyte) @ 2013-08-29  9:05 UTC (permalink / raw
  To: gentoo-commits

pinkbyte    13/08/29 09:05:18

  Modified:             ChangeLog fio-2.1.2.ebuild
  Log:
  Add option to build GTK+ frontend
  
  (Portage version: 2.2.1/cvs/Linux x86_64, signed Manifest commit with key 0x1F357D42)

Revision  Changes    Path
1.36                 sys-block/fio/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-block/fio/ChangeLog?rev=1.36&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-block/fio/ChangeLog?rev=1.36&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-block/fio/ChangeLog?r1=1.35&r2=1.36

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-block/fio/ChangeLog,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -r1.35 -r1.36
--- ChangeLog	29 Aug 2013 08:43:42 -0000	1.35
+++ ChangeLog	29 Aug 2013 09:05:18 -0000	1.36
@@ -1,6 +1,9 @@
 # ChangeLog for sys-block/fio
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-block/fio/ChangeLog,v 1.35 2013/08/29 08:43:42 pinkbyte Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-block/fio/ChangeLog,v 1.36 2013/08/29 09:05:18 pinkbyte Exp $
+
+  29 Aug 2013; Sergey Popov <pinkbyte@gentoo.org> fio-2.1.2.ebuild:
+  Add option to build GTK+ frontend
 
 *fio-2.1.2 (29 Aug 2013)
 



1.2                  sys-block/fio/fio-2.1.2.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-block/fio/fio-2.1.2.ebuild?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-block/fio/fio-2.1.2.ebuild?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-block/fio/fio-2.1.2.ebuild?r1=1.1&r2=1.2

Index: fio-2.1.2.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-block/fio/fio-2.1.2.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- fio-2.1.2.ebuild	29 Aug 2013 08:43:42 -0000	1.1
+++ fio-2.1.2.ebuild	29 Aug 2013 09:05:18 -0000	1.2
@@ -1,6 +1,6 @@
 # Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-block/fio/fio-2.1.2.ebuild,v 1.1 2013/08/29 08:43:42 pinkbyte Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-block/fio/fio-2.1.2.ebuild,v 1.2 2013/08/29 09:05:18 pinkbyte Exp $
 
 EAPI="5"
 
@@ -17,20 +17,27 @@
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86"
+IUSE="gtk"
 
-DEPEND="dev-libs/libaio"
+DEPEND="dev-libs/libaio
+	gtk? ( x11-libs/gtk+:2 )"
 RDEPEND="${DEPEND}"
 
 S="${WORKDIR}/${MY_P}"
 
 src_prepare() {
-	sed -i -e '/^DEBUGFLAGS/s, -D_FORTIFY_SOURCE=2,,g' Makefile || die
+	sed -i \
+		-e '/^DEBUGFLAGS/s, -D_FORTIFY_SOURCE=2,,g' \
+		-e '/-o gfio/s/$(LIBS)/$(LDFLAGS) $(LIBS)/' \
+		Makefile || die
 	epatch_user
 }
 
 src_configure() {
-	: # not a real configure script
-	./configure --extra-cflags="${CFLAGS}" --cc="$(tc-getCC)"
+	# not a real configure script
+	./configure \
+		--extra-cflags="${CFLAGS}" --cc="$(tc-getCC)" \
+		$(use gtk && echo "--enable-gfio") || die 'configure failed'
 }
 
 src_compile() {





^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2013-08-29  9:05 99% [gentoo-commits] gentoo-x86 commit in sys-block/fio: ChangeLog fio-2.1.2.ebuild Sergey Popov (pinkbyte)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox