diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2013-08-10 22:57:02 +0000 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2013-08-10 22:57:02 +0000 |
commit | c0f26e5cdd78a7438b6858bb2828bb7d5c539e24 (patch) | |
tree | 34cbfc59cc8bb3c21dffcca4e3286d3b69e772e7 /app-crypt/pgpdump | |
parent | Add multilib flags. Make the deps weaker (no need to enforce disabling everyt... (diff) | |
download | gentoo-2-c0f26e5cdd78a7438b6858bb2828bb7d5c539e24.tar.gz gentoo-2-c0f26e5cdd78a7438b6858bb2828bb7d5c539e24.tar.bz2 gentoo-2-c0f26e5cdd78a7438b6858bb2828bb7d5c539e24.zip |
Respect LDFLAGS. Fixes bug #480538
(Portage version: 2.1.13.7/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'app-crypt/pgpdump')
-rw-r--r-- | app-crypt/pgpdump/ChangeLog | 9 | ||||
-rw-r--r-- | app-crypt/pgpdump/files/pgpdump-0.28-respect-ldflags.patch | 42 | ||||
-rw-r--r-- | app-crypt/pgpdump/pgpdump-0.28-r1.ebuild (renamed from app-crypt/pgpdump/pgpdump-0.28.ebuild) | 8 |
3 files changed, 54 insertions, 5 deletions
diff --git a/app-crypt/pgpdump/ChangeLog b/app-crypt/pgpdump/ChangeLog index 9c09789574da..df3f360cb777 100644 --- a/app-crypt/pgpdump/ChangeLog +++ b/app-crypt/pgpdump/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for app-crypt/pgpdump # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-crypt/pgpdump/ChangeLog,v 1.26 2013/08/10 21:52:29 mrueg Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-crypt/pgpdump/ChangeLog,v 1.27 2013/08/10 22:57:02 mrueg Exp $ + +*pgpdump-0.28-r1 (10 Aug 2013) + + 10 Aug 2013; Manuel Rüger <mrueg@gentoo.org> + +files/pgpdump-0.28-respect-ldflags.patch, +pgpdump-0.28-r1.ebuild, + -pgpdump-0.28.ebuild: + Respect LDFLAGS. Fixes bug #480538 *pgpdump-0.28 (10 Aug 2013) diff --git a/app-crypt/pgpdump/files/pgpdump-0.28-respect-ldflags.patch b/app-crypt/pgpdump/files/pgpdump-0.28-respect-ldflags.patch new file mode 100644 index 000000000000..1e0f0c6f266c --- /dev/null +++ b/app-crypt/pgpdump/files/pgpdump-0.28-respect-ldflags.patch @@ -0,0 +1,42 @@ +From 087f54f29dd679a9c6eb5cce075d9f4c6ccbc57f Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Manuel=20R=C3=BCger?= <mrueg@rueg.eu> +Date: Sun, 11 Aug 2013 00:42:06 +0200 +Subject: [PATCH] Respect LDFLAGS, minor other improvements + +--- + Makefile.in | 7 ++++--- + 1 file changed, 4 insertions(+), 3 deletions(-) + +diff --git a/Makefile.in b/Makefile.in +index a0269a3..d174393 100644 +--- a/Makefile.in ++++ b/Makefile.in +@@ -3,7 +3,8 @@ exec_prefix = @exec_prefix@ + bindir = @bindir@ + mandir = @mandir@ + LIBS = @LIBS@ +-CFLAGS = @CFLAGS@ -O -Wall ++CC = @CC@ ++CFLAGS = @CFLAGS@ -Wall + LDFLAGS = @LDFLAGS@ + VERSION = `git tag | tail -1 | sed -e 's/v//'` + +@@ -22,13 +23,13 @@ MAN = pgpdump.1 + CNF = config.h config.status config.cache config.log + MKF = Makefile + +-.c.o: ++%.o : %.c + $(CC) -c $(CFLAGS) $< + + all: $(PROG) + + $(PROG): $(OBJS) +- $(CC) $(CFLAGS) -o $(PROG) $(OBJS) $(LIBS) $(LDFLAGS) ++ $(CC) $(LDFLAGS) -o $(PROG) $(OBJS) $(LIBS) + + clean: + $(RM) $(OBJS) $(PROG) +-- +1.8.1.6 + diff --git a/app-crypt/pgpdump/pgpdump-0.28.ebuild b/app-crypt/pgpdump/pgpdump-0.28-r1.ebuild index c556d060d0b2..718dab763d57 100644 --- a/app-crypt/pgpdump/pgpdump-0.28.ebuild +++ b/app-crypt/pgpdump/pgpdump-0.28-r1.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-crypt/pgpdump/pgpdump-0.28.ebuild,v 1.1 2013/08/10 21:52:29 mrueg Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-crypt/pgpdump/pgpdump-0.28-r1.ebuild,v 1.1 2013/08/10 22:57:02 mrueg Exp $ EAPI=5 -inherit toolchain-funcs +inherit eutils DESCRIPTION="A PGP packet visualizer" HOMEPAGE="http://www.mew.org/~kazu/proj/pgpdump/" @@ -18,8 +18,8 @@ DEPEND="sys-libs/zlib app-arch/bzip2" RDEPEND="${DEPEND}" -src_compile() { - emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" +src_prepare() { + epatch "${FILESDIR}"/${P}-respect-ldflags.patch } src_install() { |