Current most version nail ebuild : 10.8 Latest nail version : 11.11 Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 41749 [details] Suggested nail 11.11 ebuild
Upgrading 11.11 will bring many new interesting features : see http://nail.sourceforge.net/ChangeLog
Could you please provide a diff against the latest nail ebuild (10.8)? I would also like to know why did you add MAILSPOOL to emake and UCBINSTALL to make install. Thanks for your time
I forgot to mention : configure does not exist anylonger in new versions. so econf call was to be removed : econf \ --with-mailspool=~/.maildir MAILSPOOL is now specified through the Makefile or as an argument to make. Default is: MAILSPOOL = /var/mail The default UCBINSTALL in the Makefile is /usr/ucb/install : UCBINSTALL = /usr/ucb/install It has be overriden by the one used on Gentoo.
Still, I'd like to see the new ebuild being created from 10.8 ebuild, if you don't mind.
No problem ! Here's a diff against the 10.8 ebuild. I didn't use an external patch as everything can be done through make arguments. ds9 nail # diff -u nail-10.8.ebuild nail-11.11.ebuild --- nail-10.8.ebuild 2004-09-26 00:11:26.000000000 +0200 +++ nail-11.11.ebuild 2004-10-17 18:54:36.165872728 +0200 @@ -12,14 +12,12 @@ SLOT="0" LICENSE="BSD" -KEYWORDS="x86 sparc ~ppc" +KEYWORDS="~x86 ~sparc ~ppc" IUSE="" src_compile() { # ./configure no longer required - # patch to Gentoo specifics. - epatch ${FILESDIR}/${P}-Makefile.patch || die "patch failed." - emake || die "emake failed" + emake PREFIX=/usr MAILSPOOL='~/.maildir' || die "emake failed" } src_install () { @@ -30,7 +28,7 @@ echo -e "#smtp server. (Delete this line to use sendmail instead)" >> nail.rc echo -e "set smtp=localhost" >> nail.rc - make DESTDIR=${D} install || die "install failed" + make DESTDIR=${D} UCBINSTALL=/bin/install PREFIX=/usr install || die "install failed" dodoc AUTHORS COPYING I18N INSTALL README dodir /bin dosym /usr/bin/nail /bin/mail
In CVS now, thanks a lot for the ebuild. Should be hitting portage mirrors in few hours.