Add a comment with the bug reference for remembering the reason of src_prepare patching
authorPacho Ramos <pacho@gentoo.org>
Tue, 22 Sep 2015 18:46:57 +0000 (20:46 +0200)
committerPacho Ramos <pacho@gentoo.org>
Tue, 22 Sep 2015 18:46:57 +0000 (20:46 +0200)
Package-Manager: portage-2.2.20.1

sys-power/bbswitch/bbswitch-0.8.ebuild

index aa7df518c4cdb878667eb3fdbb61d0d8784c9abd..69a382719120d7b1a80d97782b1241cf238221aa 100644 (file)
@@ -30,6 +30,7 @@ pkg_setup() {
 }
 
 src_prepare() {
+       # Fix build failure, bug #513542
        sed -i 's/^KDIR.*$/KDIR\ \:= \/usr\/src\/linux/g' Makefile || die
 }