diff options
author | Mike Frysinger <vapier@gentoo.org> | 2008-03-24 11:16:30 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2008-03-24 11:16:30 +0000 |
commit | 7e06d6706acef4f86ed99361ab08ad1469b8ba2f (patch) | |
tree | bd95776d07882aaab7787531814df12b7e73bc9d /dev-util/cvsps | |
parent | Version bump (diff) | |
download | historical-7e06d6706acef4f86ed99361ab08ad1469b8ba2f.tar.gz historical-7e06d6706acef4f86ed99361ab08ad1469b8ba2f.tar.bz2 historical-7e06d6706acef4f86ed99361ab08ad1469b8ba2f.zip |
Respect user LDFLAGS.
Package-Manager: portage-2.2_pre5
Diffstat (limited to 'dev-util/cvsps')
-rw-r--r-- | dev-util/cvsps/ChangeLog | 8 | ||||
-rw-r--r-- | dev-util/cvsps/cvsps-2.1.ebuild | 10 | ||||
-rw-r--r-- | dev-util/cvsps/files/cvsps-2.1-build.patch | 18 |
3 files changed, 33 insertions, 3 deletions
diff --git a/dev-util/cvsps/ChangeLog b/dev-util/cvsps/ChangeLog index 9bca37c24919..7971f190f7e7 100644 --- a/dev-util/cvsps/ChangeLog +++ b/dev-util/cvsps/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-util/cvsps -# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/cvsps/ChangeLog,v 1.21 2007/05/01 17:18:05 grobian Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/cvsps/ChangeLog,v 1.22 2008/03/24 11:16:30 vapier Exp $ + + 24 Mar 2008; Mike Frysinger <vapier@gentoo.org> + +files/cvsps-2.1-build.patch, cvsps-2.1.ebuild: + Respect user LDFLAGS. 01 May 2007; Fabian Groffen <grobian@gentoo.org> cvsps-2.1.ebuild: Dropped ppc-macos keyword, see you in prefix, resolves bug #173882 diff --git a/dev-util/cvsps/cvsps-2.1.ebuild b/dev-util/cvsps/cvsps-2.1.ebuild index 21094d575ca6..2d966e5f7654 100644 --- a/dev-util/cvsps/cvsps-2.1.ebuild +++ b/dev-util/cvsps/cvsps-2.1.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/cvsps/cvsps-2.1.ebuild,v 1.14 2008/03/24 11:11:55 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/cvsps/cvsps-2.1.ebuild,v 1.15 2008/03/24 11:16:30 vapier Exp $ + +inherit eutils MY_P="${P/_/}" DESCRIPTION="Generates patchset information from a CVS repository" @@ -16,6 +18,12 @@ DEPEND="sys-libs/zlib" S="${WORKDIR}/${MY_P}" +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-build.patch +} + src_install() { dobin cvsps || die doman cvsps.1 diff --git a/dev-util/cvsps/files/cvsps-2.1-build.patch b/dev-util/cvsps/files/cvsps-2.1-build.patch new file mode 100644 index 000000000000..bcb394d5dd0b --- /dev/null +++ b/dev-util/cvsps/files/cvsps-2.1-build.patch @@ -0,0 +1,18 @@ +--- Makefile.orig 2008-03-24 07:16:47.000000000 -0400 ++++ Makefile 2008-03-24 07:17:18.000000000 -0400 +@@ -3,6 +3,7 @@ + CC?=gcc + CFLAGS?=-g -O2 -Wall + CFLAGS+=-I. -DVERSION=\"$(MAJOR).$(MINOR)\" ++LDLIBS+=-lz + prefix?=/usr/local + OBJS=\ + cbtcommon/debug.o\ +@@ -21,7 +22,6 @@ + all: cvsps + + cvsps: $(OBJS) +- $(CC) -o cvsps $(OBJS) -lz + + install: + [ -d $(prefix)/bin ] || mkdir -p $(prefix)/bin |