public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Jeremy Olexa (darkside)" <darkside@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in mail-client/pine: ChangeLog pine-4.64-r7.ebuild
Date: Mon, 14 Jun 2010 20:21:58 +0000 (UTC)	[thread overview]
Message-ID: <20100614202158.DBE922CE14@corvid.gentoo.org> (raw)

darkside    10/06/14 20:21:58

  Modified:             ChangeLog pine-4.64-r7.ebuild
  Log:
  Import modifications from the Gentoo Prefix overlay. Add keywords, convert to EAPI3, add some darwin build fixes. Approved by dertobi123 of the net-mail team
  (Portage version: 2.1.8.3/cvs/Linux x86_64)

Revision  Changes    Path
1.108                mail-client/pine/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/pine/ChangeLog?rev=1.108&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/pine/ChangeLog?rev=1.108&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/pine/ChangeLog?r1=1.107&r2=1.108

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/mail-client/pine/ChangeLog,v
retrieving revision 1.107
retrieving revision 1.108
diff -u -r1.107 -r1.108
--- ChangeLog	10 Oct 2009 16:28:54 -0000	1.107
+++ ChangeLog	14 Jun 2010 20:21:58 -0000	1.108
@@ -1,6 +1,11 @@
 # ChangeLog for mail-client/pine
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-client/pine/ChangeLog,v 1.107 2009/10/10 16:28:54 armin76 Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/mail-client/pine/ChangeLog,v 1.108 2010/06/14 20:21:58 darkside Exp $
+
+  14 Jun 2010; Jeremy Olexa <darkside@gentoo.org> pine-4.64-r7.ebuild:
+  Import modifications from the Gentoo Prefix overlay. Add keywords, convert
+  to EAPI3, add some darwin build fixes. Approved by dertobi123 of the
+  net-mail team
 
   10 Oct 2009; Raúl Porcel <armin76@gentoo.org> pine-4.64-r7.ebuild:
   sparc/x86 stable wrt #286137



1.7                  mail-client/pine/pine-4.64-r7.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/pine/pine-4.64-r7.ebuild?rev=1.7&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/pine/pine-4.64-r7.ebuild?rev=1.7&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/pine/pine-4.64-r7.ebuild?r1=1.6&r2=1.7

Index: pine-4.64-r7.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/mail-client/pine/pine-4.64-r7.ebuild,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- pine-4.64-r7.ebuild	10 Oct 2009 16:28:54 -0000	1.6
+++ pine-4.64-r7.ebuild	14 Jun 2010 20:21:58 -0000	1.7
@@ -1,7 +1,8 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-client/pine/pine-4.64-r7.ebuild,v 1.6 2009/10/10 16:28:54 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-client/pine/pine-4.64-r7.ebuild,v 1.7 2010/06/14 20:21:58 darkside Exp $
 
+EAPI=3
 inherit eutils
 
 # Using this ugly hack, since we're making our own versioned copies of chappa
@@ -21,7 +22,7 @@
 
 LICENSE="PICO"
 SLOT="0"
-KEYWORDS="alpha amd64 ppc sparc x86 ~x86-fbsd"
+KEYWORDS="alpha amd64 ppc sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos"
 IUSE="ssl ldap kerberos largeterminal pam passfile debug"
 
 DEPEND=">=sys-apps/sed-4
@@ -60,9 +61,7 @@
 	maildir_warn
 }
 
-src_unpack() {
-	unpack ${A} && cd "${S}"
-
+src_prepare() {
 	epatch "${FILESDIR}/pine-4.62-spooldir-permissions.patch"
 
 	# Various fixes and features.
@@ -115,7 +114,7 @@
 			-i "${S}/pico/makefile.lnx" || die "sed pico/makefile.lnx failed"
 	fi
 
-	sed -e "s:/usr/local/lib/pine.conf:/etc/pine.conf:" \
+	sed -e "s:/usr/local/lib/pine.conf:${EPREFIX}/etc/pine.conf:" \
 		-i "${S}/pine/osdep/os-lnx.h" || die "sed os-lnx.h failed"
 
 	sed -e "s:/usr/local/lib/pine.conf:/etc/pine.conf:" \
@@ -131,10 +130,10 @@
 src_compile() {
 	local myconf
 	if use ssl ; then
-		myconf="${myconf} SSLDIR=/usr SSLTYPE=unix SSLCERTS=/etc/ssl/certs"
-		sed -e "s:\$(SSLDIR)/certs:/etc/ssl/certs:" \
-			-e "s:\$(SSLCERTS):/etc/ssl/certs:" \
-			-e "s:-I\$(SSLINCLUDE):-I/usr/include/openssl:" \
+		myconf="${myconf} SSLDIR=${EPREFIX}/usr SSLTYPE=unix SSLCERTS=${EPREFIX}/etc/ssl/certs"
+		sed -e "s:\$(SSLDIR)/certs:${EPREFIX}/etc/ssl/certs:" \
+			-e "s:\$(SSLCERTS):${EPREFIX}/etc/ssl/certs:" \
+			-e "s:-I\$(SSLINCLUDE):-I${EPREFIX}/usr/include/openssl:" \
 			-i "${S}/imap/src/osdep/unix/Makefile" || die "sed Makefile failed"
 	else
 		myconf="${myconf} NOSSL"
@@ -152,9 +151,9 @@
 	if use elibc_FreeBSD ; then
 		target=bsf
 	elif use pam ; then
-		target=lnp
+		[[ ${CHOST} == *-darwin* ]] && target=oxp || target=lnp
 	else
-		target=slx
+		[[ ${CHOST} == *-darwin* ]] && target=osx || target=slx
 	fi
 
 	./build ${myconf} ${target} || die "compile problem"






             reply	other threads:[~2010-06-14 20:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-14 20:21 Jeremy Olexa (darkside) [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-10-10 16:28 [gentoo-commits] gentoo-x86 commit in mail-client/pine: ChangeLog pine-4.64-r7.ebuild Raul Porcel (armin76)
2009-10-03 18:58 Tobias Klausmann (klausman)
2009-09-27 19:46 Gysbert Wassenaar (nixnut)
2009-09-24 10:15 Dawid Weglinski (cla)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100614202158.DBE922CE14@corvid.gentoo.org \
    --to=darkside@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox