public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-wireless/irda-utils: irda-utils-0.9.18-r4.ebuild ChangeLog
@ 2013-10-13 16:36 Pacho Ramos (pacho)
  0 siblings, 0 replies; only message in thread
From: Pacho Ramos (pacho) @ 2013-10-13 16:36 UTC (permalink / raw
  To: gentoo-commits

pacho       13/10/13 16:36:13

  Modified:             irda-utils-0.9.18-r4.ebuild ChangeLog
  Log:
  Fix headers used for compile (#317539 by Christophe LEFEBVRE)
  
  (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)

Revision  Changes    Path
1.6                  net-wireless/irda-utils/irda-utils-0.9.18-r4.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/irda-utils/irda-utils-0.9.18-r4.ebuild?rev=1.6&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/irda-utils/irda-utils-0.9.18-r4.ebuild?rev=1.6&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/irda-utils/irda-utils-0.9.18-r4.ebuild?r1=1.5&r2=1.6

Index: irda-utils-0.9.18-r4.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-wireless/irda-utils/irda-utils-0.9.18-r4.ebuild,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- irda-utils-0.9.18-r4.ebuild	10 Feb 2013 15:23:21 -0000	1.5
+++ irda-utils-0.9.18-r4.ebuild	13 Oct 2013 16:36:13 -0000	1.6
@@ -1,7 +1,8 @@
 # Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/irda-utils/irda-utils-0.9.18-r4.ebuild,v 1.5 2013/02/10 15:23:21 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/irda-utils/irda-utils-0.9.18-r4.ebuild,v 1.6 2013/10/13 16:36:13 pacho Exp $
 
+EAPI=5
 inherit eutils toolchain-funcs flag-o-matic udev
 
 DESCRIPTION="IrDA management and handling utilities"
@@ -13,50 +14,50 @@
 KEYWORDS="~amd64 ~arm ~ppc ~sh ~x86"
 IUSE=""
 
-RDEPEND="=dev-libs/glib-2*
+RDEPEND="
+	dev-libs/glib:2
 	>=sys-apps/pciutils-2.2.7-r1
 	sys-process/procps
 	sys-apps/setserial
 	sys-apps/grep
-	virtual/udev"
+	virtual/udev
+"
 DEPEND="${RDEPEND}
 	virtual/pkgconfig
-	!app-laptop/smcinit"
+	!app-laptop/smcinit
+"
 
-src_unpack() {
-	unpack ${A}
-
-	cd "${S}"
+src_prepare() {
 	epatch "${FILESDIR}"/irda-utils-rh1.patch \
 		"${FILESDIR}"/${P}-makefile.diff \
 		"${FILESDIR}"/${P}-smcinit.diff \
 		"${FILESDIR}"/${P}-io.h.diff \
 		"${FILESDIR}"/${P}-dofail.patch \
 		"${FILESDIR}"/${P}-asneeded.patch \
-		"${FILESDIR}"/${P}-ldflags.patch
+		"${FILESDIR}"/${P}-ldflags.patch \
+		"${FILESDIR}"/${P}-headers.patch
 
 	# fix crosscompile, respect CFLAGS (Bug 200295)
 	sed -i -e "/^CC/s:gcc:$(tc-getCC):" \
 		-e "/^LD/s:ld:$(tc-getLD):" \
 		-e "/^AR/s:ar:$(tc-getAR):" \
 		-e "/^RANLIB/s:ranlib:$(tc-getRANLIB):" \
-		-e "/^CFLAGS/s:-O2:${CFLAGS}:" Makefile */Makefile
+		-e "/^CFLAGS/s:-O2:${CFLAGS}:" Makefile */Makefile || die
 
 	# fix compile when pciutils is compiled with USE=zlib (Bug 200295)
-	sed -i -e "s:-lpci:$(pkg-config --libs libpci):g" smcinit/Makefile
+	sed -i -e "s:-lpci:$(pkg-config --libs libpci):g" smcinit/Makefile || die
 
 	# disable etc subdir in Makefile
-	sed -i -e "s:^\(DIRS.*=.* \)etc \(.*\):\1\2:g" Makefile
+	sed -i -e "s:^\(DIRS.*=.* \)etc \(.*\):\1\2:g" Makefile || die
 
 	# disable write_pid(), because we don't need it
-	sed -i -e "s:\(write_pid();\):/* \1 */:g" irattach/util.c
+	sed -i -e "s:\(write_pid();\):/* \1 */:g" irattach/util.c || die
 
-	append-flags "-fno-strict-aliasing"
+	append-flags "-fno-strict-aliasing" # bug????
 }
 
 src_compile() {
-	emake RPM_OPT_FLAGS="${CFLAGS}" RPM_BUILD_ROOT="${D}" ROOT="${D}" \
-		|| die "emake failed"
+	emake RPM_OPT_FLAGS="${CFLAGS}" RPM_BUILD_ROOT="${D}" ROOT="${D}"
 }
 
 src_install () {
@@ -64,7 +65,7 @@
 	dodir /usr/sbin
 
 	emake install RPM_OPT_FLAGS="${CFLAGS}" ROOT="${D}" \
-		MANDIR="${D}usr/share/man"	|| die "emake install failed"
+		MANDIR="${D}usr/share/man"
 
 	newdoc ethereal/README     README.wireshark
 	newdoc irattach/README     README.irattach



1.44                 net-wireless/irda-utils/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/irda-utils/ChangeLog?rev=1.44&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/irda-utils/ChangeLog?rev=1.44&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/irda-utils/ChangeLog?r1=1.43&r2=1.44

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-wireless/irda-utils/ChangeLog,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -r1.43 -r1.44
--- ChangeLog	10 Feb 2013 15:23:21 -0000	1.43
+++ ChangeLog	13 Oct 2013 16:36:13 -0000	1.44
@@ -1,6 +1,10 @@
 # ChangeLog for net-wireless/irda-utils
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/irda-utils/ChangeLog,v 1.43 2013/02/10 15:23:21 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/irda-utils/ChangeLog,v 1.44 2013/10/13 16:36:13 pacho Exp $
+
+  13 Oct 2013; Pacho Ramos <pacho@gentoo.org>
+  +files/irda-utils-0.9.18-headers.patch, irda-utils-0.9.18-r4.ebuild:
+  Fix headers used for compile (#317539 by Christophe LEFEBVRE)
 
   10 Feb 2013; Mike Gilbert <floppym@gentoo.org> irda-utils-0.9.18-r3.ebuild,
   irda-utils-0.9.18-r4.ebuild:





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-10-13 16:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-13 16:36 [gentoo-commits] gentoo-x86 commit in net-wireless/irda-utils: irda-utils-0.9.18-r4.ebuild ChangeLog Pacho Ramos (pacho)

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