summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEray Aslan <eras@gentoo.org>2011-06-08 09:33:51 +0000
committerEray Aslan <eras@gentoo.org>2011-06-08 09:33:51 +0000
commit96d2c58f5c2771c471077981395c4a39705293cc (patch)
tree14c7f74a54716b4be45a1d0d442b0c7cd43c3849 /net-analyzer/postal
parentStable on amd64 wrt bug #370519 (diff)
downloadgentoo-2-96d2c58f5c2771c471077981395c4a39705293cc.tar.gz
gentoo-2-96d2c58f5c2771c471077981395c4a39705293cc.tar.bz2
gentoo-2-96d2c58f5c2771c471077981395c4a39705293cc.zip
Respect LDFLAGS - bug #337516
(Portage version: 2.1.10/cvs/Linux x86_64)
Diffstat (limited to 'net-analyzer/postal')
-rw-r--r--net-analyzer/postal/ChangeLog8
-rw-r--r--net-analyzer/postal/files/06_postal-0.70-ldflags.patch27
-rw-r--r--net-analyzer/postal/postal-0.70.ebuild6
3 files changed, 37 insertions, 4 deletions
diff --git a/net-analyzer/postal/ChangeLog b/net-analyzer/postal/ChangeLog
index b4edf6393dcf..be21246b3663 100644
--- a/net-analyzer/postal/ChangeLog
+++ b/net-analyzer/postal/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-analyzer/postal
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/postal/ChangeLog,v 1.7 2010/07/12 16:00:52 ssuominen Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/postal/ChangeLog,v 1.8 2011/06/08 09:33:51 eras Exp $
+
+ 08 Jun 2011; Eray Aslan <eras@gentoo.org> postal-0.70.ebuild,
+ +files/06_postal-0.70-ldflags.patch:
+ Respect LDFLAGS - bug #337516
12 Jul 2010; Samuli Suominen <ssuominen@gentoo.org> postal-0.70.ebuild,
+files/05_postal-0.70-openssl-1.patch:
diff --git a/net-analyzer/postal/files/06_postal-0.70-ldflags.patch b/net-analyzer/postal/files/06_postal-0.70-ldflags.patch
new file mode 100644
index 000000000000..7bfb92de7f0d
--- /dev/null
+++ b/net-analyzer/postal/files/06_postal-0.70-ldflags.patch
@@ -0,0 +1,27 @@
+--- Makefile.in~ 2011-06-08 11:38:59.123333174 +0300
++++ Makefile.in 2011-06-08 11:46:02.000000000 +0300
+@@ -24,19 +24,19 @@
+ ALLOBJS=$(BASEOBJS) smtp.o client.o basictcp.o bhmusers.o smtpserver.o
+
+ postal: postal.cpp $(BASEOBJS) postal.h smtp.o
+- $(CXX) postal.cpp $(BASEOBJS) smtp.o -o postal $(CRYPTLFLAGS)
++ $(CXX) $(LDFLAGS) postal.cpp $(BASEOBJS) smtp.o -o postal $(CRYPTLFLAGS)
+
+ rabid: rabid.cpp $(BASEOBJS) postal.h client.o
+- $(CXX) rabid.cpp $(BASEOBJS) client.o -o rabid $(CRYPTLFLAGS)
++ $(CXX) $(LDFLAGS) rabid.cpp $(BASEOBJS) client.o -o rabid $(CRYPTLFLAGS)
+
+ bhm: bhm.cpp userlist.o basictcp.o logit.o results.o mutex.o bhmusers.o postal.h
+- $(CXX) bhm.cpp userlist.o basictcp.o logit.o results.o mutex.o bhmusers.o -o bhm $(CRYPTLFLAGS)
++ $(CXX) $(LDFLAGS) bhm.cpp userlist.o basictcp.o logit.o results.o mutex.o bhmusers.o -o bhm $(CRYPTLFLAGS)
+
+ ex-test: ex-test.cpp expand.o
+- $(CXX) ex-test.cpp expand.o -o ex-test $(LFLAGS)
++ $(CXX) $(LDFLAGS) ex-test.cpp expand.o -o ex-test $(LFLAGS)
+
+ postal-list: postal-list.cpp expand.o
+- $(CXX) postal-list.cpp expand.o -o postal-list $(LFLAGS)
++ $(CXX) $(LDFLAGS) postal-list.cpp expand.o -o postal-list $(LFLAGS)
+
+ install-bin: $(EXE) $(SEXE)
+ mkdir -p $(DESTDIR)$(eprefix)/sbin $(DESTDIR)$(eprefix)/bin
diff --git a/net-analyzer/postal/postal-0.70.ebuild b/net-analyzer/postal/postal-0.70.ebuild
index 0451bd2b0828..5800e02494d1 100644
--- a/net-analyzer/postal/postal-0.70.ebuild
+++ b/net-analyzer/postal/postal-0.70.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/postal/postal-0.70.ebuild,v 1.2 2010/07/12 16:00:52 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/postal/postal-0.70.ebuild,v 1.3 2011/06/08 09:33:51 eras Exp $
inherit autotools eutils
@@ -17,6 +17,7 @@ DEPEND="ssl? (
!gnutls? ( >=dev-libs/openssl-0.9.8g )
gnutls? ( >=net-libs/gnutls-2.2.2 )
)"
+RDEPEND="${DEPEND}"
pkg_setup() {
myconf=" --disable-stripping
@@ -33,6 +34,7 @@ src_unpack() {
epatch "${FILESDIR}/03_${P}-c++0x-integrated.patch"
epatch "${FILESDIR}/04_${P}-warnings.patch"
epatch "${FILESDIR}/05_${P}-openssl-1.patch"
+ epatch "${FILESDIR}/06_${P}-ldflags.patch"
eautoreconf
}