net-ftp/tlswrap: Fixed patch application (bug #581432).
authorLars Wendler <polynomial-c@gentoo.org>
Thu, 28 Apr 2016 08:32:40 +0000 (10:32 +0200)
committerLars Wendler <polynomial-c@gentoo.org>
Thu, 28 Apr 2016 08:32:57 +0000 (10:32 +0200)
Package-Manager: portage-2.2.28
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
net-ftp/tlswrap/tlswrap-1.04-r2.ebuild

index 472ed9ee54e68d75161149a2d03d4d6a61ba2332..ab21f447f15cd0e701f5e08d82548e043494a4c8 100644 (file)
@@ -19,9 +19,9 @@ DEPEND="!libressl? ( dev-libs/openssl:0= )
        libressl? ( dev-libs/libressl:= )"
 RDEPEND=${DEPEND}
 
-src_prepare() {
-       epatch "${FILESDIR}/${P}-libressl.patch"
-}
+PATCHES=(
+       "${FILESDIR}/${P}-libressl.patch"
+)
 
 src_install() {
        emake prefix="${D}/usr" install