net-wireless/neard: fix install of version.h #580876
authorMike Frysinger <vapier@gentoo.org>
Fri, 22 Apr 2016 21:36:53 +0000 (17:36 -0400)
committerMike Frysinger <vapier@gentoo.org>
Fri, 22 Apr 2016 21:37:39 +0000 (17:37 -0400)
net-wireless/neard/neard-0.15-r1.ebuild [moved from net-wireless/neard/neard-0.15.ebuild with 73% similarity]

similarity index 73%
rename from net-wireless/neard/neard-0.15.ebuild
rename to net-wireless/neard/neard-0.15-r1.ebuild
index 85c9e602cdad36db5b5de16839b3dbda220f4698..4f410f2a5001ff2ecc1d5053cb4cc94fcc5561ef 100644 (file)
@@ -1,8 +1,7 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Id$
 
-EAPI=5
+EAPI="5"
 
 DESCRIPTION="Near Field Communication (NFC) management daemon"
 HOMEPAGE="https://01.org/linux-nfc/"
@@ -26,6 +25,10 @@ src_configure() {
 src_install() {
        default
 
+       # Patch for this has been sent upstream.  Do it manually
+       # to avoid having to rebuild autotools. #580876
+       mv "${ED}"/usr/include/version.h "${ED}"/usr/include/near/ || die
+
        newinitd "${FILESDIR}"/${PN}.rc ${PN}
        newconfd "${FILESDIR}"/${PN}.confd ${PN}
 }