summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-03-24 11:16:30 +0000
committerMike Frysinger <vapier@gentoo.org>2008-03-24 11:16:30 +0000
commit80ece31b3fe0d16baa77703c86bdc1df81a773a3 (patch)
tree9f2d4ef65b6f3a81268baac3340403efe70e975a /dev-util/cvsps
parentVersion bump (diff)
downloadgentoo-2-80ece31b3fe0d16baa77703c86bdc1df81a773a3.tar.gz
gentoo-2-80ece31b3fe0d16baa77703c86bdc1df81a773a3.tar.bz2
gentoo-2-80ece31b3fe0d16baa77703c86bdc1df81a773a3.zip
Respect user LDFLAGS.
(Portage version: 2.2_pre5)
Diffstat (limited to 'dev-util/cvsps')
-rw-r--r--dev-util/cvsps/ChangeLog8
-rw-r--r--dev-util/cvsps/cvsps-2.1.ebuild10
-rw-r--r--dev-util/cvsps/files/cvsps-2.1-build.patch18
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