diff options
Diffstat (limited to 'sys-apps/groff/groff-1.22.4.ebuild')
-rw-r--r-- | sys-apps/groff/groff-1.22.4.ebuild | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys-apps/groff/groff-1.22.4.ebuild b/sys-apps/groff/groff-1.22.4.ebuild index 5cc2095734ed..f24193f78f45 100644 --- a/sys-apps/groff/groff-1.22.4.ebuild +++ b/sys-apps/groff/groff-1.22.4.ebuild @@ -43,7 +43,7 @@ src_prepare() { default # honor Gentoo's docdir - sed -i -e "s|^docdir =.*|docdir = \"${EPREFIX%/}/usr/share/doc/${PF}\"|g" \ + sed -i -e "s|^docdir =.*|docdir = \"${EPREFIX}/usr/share/doc/${PF}\"|g" \ Makefile.in \ || die "failed to modify Makefile.in" @@ -61,7 +61,7 @@ src_prepare() { src_configure() { local myeconfargs=( - --with-appresdir="${EPREFIX%/}"/usr/share/X11/app-defaults + --with-appresdir="${EPREFIX}"/usr/share/X11/app-defaults $(use_with X x) ) econf "${myeconfargs[@]}" |