net-misc/cadaver: Add ${EPREFIX}.
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>
Tue, 18 Jun 2019 16:05:30 +0000 (16:05 +0000)
committerMike Gilbert <floppym@gentoo.org>
Tue, 18 Jun 2019 16:10:19 +0000 (12:10 -0400)
Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
net-misc/cadaver/cadaver-0.23.3.ebuild

index cbb8805aaa18630afdfbe6c10800db5014f72479..c329d370cd8842beab4903fc59719b53c2609246 100644 (file)
@@ -30,8 +30,8 @@ src_prepare() {
                -e "/AM_GNU_GETTEXT/s:no-libtool:external:" \
                -e "/AC_CONFIG_FILES/s: lib/neon/Makefile lib/intl/Makefile::" \
                -i configure.ac || die "sed configure.ac failed"
-       sed -e "s/^\(SUBDIRS.*=\).*/\1/" -i Makefile.in || die "sed Makefile.in failed"
-       cp /usr/share/gettext/po/Makefile.in.in po || die "cp failed"
+       sed -e "s:^\(SUBDIRS.*=\).*:\1:" -i Makefile.in || die "sed Makefile.in failed"
+       cp "${EPREFIX}/usr/share/gettext/po/Makefile.in.in" po || die "cp failed"
 
        AT_M4DIR="m4 m4/neon" eautoreconf
 }