app-shells/dash: change USE=dumb-echo to USE=vanilla #590696
authorMike Frysinger <vapier@gentoo.org>
Wed, 7 Dec 2016 17:26:29 +0000 (12:26 -0500)
committerMike Frysinger <vapier@gentoo.org>
Wed, 7 Dec 2016 17:26:29 +0000 (12:26 -0500)
app-shells/dash/dash-0.5.9.1-r1.ebuild
app-shells/dash/metadata.xml

index a4f77983dc2fbc7838d815f6bd20f4c122c254e3..16467b461643c42f8d7d101f5494c7f8b8c2958d 100644 (file)
@@ -21,7 +21,7 @@ fi
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
-IUSE="dumb-echo libedit static"
+IUSE="libedit static vanilla"
 
 RDEPEND="!static? ( libedit? ( dev-libs/libedit ) )"
 DEPEND="${RDEPEND}
@@ -42,7 +42,7 @@ src_prepare() {
        epatch "${PATCHES[@]}"
 
        #337329 #527848
-       use dumb-echo && epatch "${FILESDIR}"/${PN}-0.5.9.1-dumb-echo.patch
+       use vanilla ||  epatch "${FILESDIR}"/${PN}-0.5.9.1-dumb-echo.patch
 
        # Fix the invalid sort
        sed -i -e 's/LC_COLLATE=C/LC_ALL=C/g' src/mkbuiltins
index 7e1b714eb2f6b010110a7cdeb323b27644a9d2eb..0d01a34d50df27c2bf092c770eb890fdd3057a57 100644 (file)
@@ -9,7 +9,7 @@
                <remote-id type="cpe">cpe:/a:dash:dash</remote-id>
        </upstream>
        <use>
-               <flag name="dumb-echo">Disable echo -n for added fun</flag>
+               <flag name="vanilla">Support echo -n, and enable echo -e all the time (unsupported)</flag>
        </use>
        <longdescription lang="en">
                DASH is a direct descendant of the NetBSD version of ash (the Almquist SHell)