app-shells/bash-completion: make use of epatch more consistent
authorLouis Sautier <sautier.louis@gmail.com>
Thu, 28 Jan 2016 15:21:05 +0000 (16:21 +0100)
committerLouis Sautier <sautier.louis@gmail.com>
Thu, 28 Jan 2016 15:21:05 +0000 (16:21 +0100)
Package-Manager: portage-2.2.27

app-shells/bash-completion/bash-completion-2.1-r94.ebuild

index 002a448be002b5d97c4cc7462226d0acef10612d..c24324eabddc1a9f7f992d4e333be7d7b97f84d2 100644 (file)
@@ -21,11 +21,6 @@ RDEPEND=">=app-shells/bash-4.3_p30-r1
        !app-eselect/eselect-bashcomp"
 PDEPEND=">=app-shells/gentoo-bashcomp-20140911"
 
-# Bug 543100
-PATCHES=(
-       "${FILESDIR}"/${P}-escape-characters.patch
-)
-
 # Remove unwanted completions.
 STRIP_COMPLETIONS=(
        # Included in util-linux, bug #468544
@@ -41,7 +36,8 @@ STRIP_COMPLETIONS=(
 
 src_prepare() {
        epatch "${WORKDIR}"/bashcomp2-pre1/*.patch
-       epatch "${PATCHES[@]}"
+       # Bug 543100
+       epatch "${FILESDIR}"/${P}-escape-characters.patch
 }
 
 src_test() { :; } # Skip testsuite because of interactive shell wrt #477066