--- hylafax-6.0.3.ebuild.orig 2011-04-02 21:48:40.000000000 +0200 +++ hylafax-6.0.3.ebuild 2011-04-02 21:56:09.000000000 +0200 @@ -10,15 +10,14 @@ HOMEPAGE="http://www.hylafax.org" SRC_URI="ftp://ftp.hylafax.org/source/${P}.tar.gz" -SLOT="0" LICENSE="hylafax" +SLOT="0" KEYWORDS="amd64 hppa ppc sparc x86" - IUSE="jbig pam mgetty html" -DEPEND=">=sys-libs/zlib-1.1.4 +DEPEND="sys-libs/zlib app-text/ghostscript-gpl - =media-libs/tiff-3.9*[jbig?] + media-libs/tiff[jbig?] virtual/jpeg jbig? ( media-libs/jbigkit ) sys-apps/gawk @@ -34,13 +33,12 @@ src_prepare() { # force it not to strip binaries for dir in etc util faxalter faxcover faxd faxmail faxrm faxstat \ - hfaxd sendfax sendpage ; do + hfaxd libhylafax sendfax sendpage ; do sed -i -e "s:-idb:-idb \"nostrip\" -idb:g" \ "${dir}"/Makefile.in || die "sed failed" done - sed -i -e "s|-fpic|-fPIC|g" \ - configure || die + sed -i -e "s|-fpic|-fPIC|g" configure || die # new locale stuff lacks DESTDIR sed -i -e "s|\${LOCALEDIR}|\${DESTDIR}\${LOCALEDIR}|g" \ @@ -151,11 +149,10 @@ use pam && pamd_mimic_system hylafax auth account session - dodoc CONTRIBUTORS README TODO + dodoc CONTRIBUTORS INSTALL README TODO } pkg_postinst() { - elog elog "The faxonly USE flag has been removed; since Hylafax does not" elog "require mgetty, and certain fax files conflict, you must build" elog "mgetty without fax support if you wish to use them both. You" @@ -182,7 +179,6 @@ elog "See the docs and man pages for detailed configuration info." elog elog "Now run faxsetup and (if necessary) faxaddmodem." - elog } generate_files() {