--- pilot-mailsync-0.9.2.ebuild.orig 2010-03-10 23:41:02.000000000 +0100 +++ pilot-mailsync-0.9.2.ebuild 2010-03-10 23:48:18.000000000 +0100 @@ -1,4 +1,4 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-pda/pilot-mailsync/pilot-mailsync-0.9.2.ebuild,v 1.1 2007/09/16 19:22:31 philantrop Exp $ @@ -27,6 +27,8 @@ unpack ${A} fi cd "${S}" + + sed -i -e '/strip .*/d' Makefile.in || die # Fixes bug 151351. epatch "${FILESDIR}/pilot-mailsync-0.9.1-glibc.patch" } @@ -37,15 +39,13 @@ # or removed with Gnome support. (Philantrop) append-flags -fPIC - cd "${S}" - econf $(use_enable ssl) $(use_enable gnome gpilot) + econf $(use_enable ssl) $(use_enable gnome gpilot) || die if use gnome; then cd "${S}-gpilot" - econf $(use_enable ssl) --enable-gpilot + econf $(use_enable ssl) --enable-gpilot || die fi - cd "${S}" - emake || die "make failed" + emake || die if use gnome; then cd "${S}-gpilot" emake || die "gpilot plugin make failed" @@ -53,15 +53,14 @@ } src_install() { - cd "${S}" - make RPM_BUILD_ROOT="${D}" install || die "install failed" - dodoc README INSTALL docs/* || die "installing docs failed" + make RPM_BUILD_ROOT="${D}" install || die + dodoc README INSTALL docs/* || die if use gnome; then cd "${S}-gpilot" insinto /usr/share/gnome-pilot/conduits/ - doins mailsync.conduit + doins mailsync.conduit || die insinto /usr/lib/gnome-pilot/conduits/ - doins .libs/libgnome_mailsync_conduit.so + doins .libs/libgnome_mailsync_conduit.so || die fi }