summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2004-10-14 14:32:48 +0000
committerMamoru Komachi <usata@gentoo.org>2004-10-14 14:32:48 +0000
commitcb43ac5d2f9d7604135db168494749fc9204e1e8 (patch)
tree874faafcd88280248f37807c7cfcc59e94b39943 /net-misc
parentFixed CC with gcc.eclass. (Manifest recommit) (diff)
downloadgentoo-2-cb43ac5d2f9d7604135db168494749fc9204e1e8.tar.gz
gentoo-2-cb43ac5d2f9d7604135db168494749fc9204e1e8.tar.bz2
gentoo-2-cb43ac5d2f9d7604135db168494749fc9204e1e8.zip
Added to ~ppc-macos.
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/stunnel/ChangeLog5
-rw-r--r--net-misc/stunnel/stunnel-3.26.ebuild15
2 files changed, 16 insertions, 4 deletions
diff --git a/net-misc/stunnel/ChangeLog b/net-misc/stunnel/ChangeLog
index 7bddd37be4c9..d5ce0db0047f 100644
--- a/net-misc/stunnel/ChangeLog
+++ b/net-misc/stunnel/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-misc/stunnel
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/stunnel/ChangeLog,v 1.34 2004/08/22 22:38:09 weeve Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/stunnel/ChangeLog,v 1.35 2004/10/14 14:32:48 usata Exp $
+
+ 14 Oct 2004; Mamoru KOMACHI <usata@gentoo.org> stunnel-3.26.ebuild:
+ Added to ~ppc-macos.
22 Aug 2004; Jason Wever <weeve@gentoo.org> stunnel-4.05.ebuild:
Stable on sparc.
diff --git a/net-misc/stunnel/stunnel-3.26.ebuild b/net-misc/stunnel/stunnel-3.26.ebuild
index 4e6c1427895c..98632a4f8c29 100644
--- a/net-misc/stunnel/stunnel-3.26.ebuild
+++ b/net-misc/stunnel/stunnel-3.26.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/stunnel/stunnel-3.26.ebuild,v 1.8 2004/07/28 20:35:26 kugelfang Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/stunnel/stunnel-3.26.ebuild,v 1.9 2004/10/14 14:32:48 usata Exp $
inherit eutils
@@ -10,7 +10,7 @@ SRC_URI="http://www.stunnel.org/download/stunnel/src/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="x86 sparc alpha ppc ~amd64"
+KEYWORDS="x86 sparc alpha ppc ~amd64 ~ppc-macos"
IUSE=""
RDEPEND=">=dev-libs/openssl-0.9.6j"
@@ -21,6 +21,11 @@ src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/${P}-gentoo.diff
+ if use ppc-macos ; then
+ sed -i -e "s,-shared,-dynamic -flat_namespace -bundle -undefined suppress,g" \
+ -e "s,stunnel.so,stunnel.dylib,g" \
+ Makefile.in || die "sed failed"
+ fi
}
src_compile() {
@@ -32,5 +37,9 @@ src_install() {
dosbin stunnel
dodoc FAQ README HISTORY COPYING BUGS PORTS TODO transproxy.txt
doman stunnel.8
- dolib.so stunnel.so
+ if use ppc-macos ; then
+ dolib.so stunnel.dylib
+ else
+ dolib.so stunnel.so
+ fi
}