diff options
author | Michael Weber <xmw@gentoo.org> | 2010-12-29 02:34:57 +0000 |
---|---|---|
committer | Michael Weber <xmw@gentoo.org> | 2010-12-29 02:34:57 +0000 |
commit | 819300cdc3f7b164d0d7663e3b9d227ffb8df0e4 (patch) | |
tree | 6a37fb7b6368b3c6b999265073c56a424f2a666b /app-crypt | |
parent | Version bump (diff) | |
download | gentoo-2-819300cdc3f7b164d0d7663e3b9d227ffb8df0e4.tar.gz gentoo-2-819300cdc3f7b164d0d7663e3b9d227ffb8df0e4.tar.bz2 gentoo-2-819300cdc3f7b164d0d7663e3b9d227ffb8df0e4.zip |
Revbump to fix CFLAGS/LDFLAGS
(Portage version: 2.1.9.25/cvs/Linux x86_64)
Diffstat (limited to 'app-crypt')
-rw-r--r-- | app-crypt/codegroup/ChangeLog | 8 | ||||
-rw-r--r-- | app-crypt/codegroup/codegroup-20080907-r1.ebuild (renamed from app-crypt/codegroup/codegroup-20080907.ebuild) | 9 | ||||
-rw-r--r-- | app-crypt/codegroup/files/codegroup-20080907-Makefile.patch | 20 |
3 files changed, 31 insertions, 6 deletions
diff --git a/app-crypt/codegroup/ChangeLog b/app-crypt/codegroup/ChangeLog index 6f0a536f7b41..feaac1868c10 100644 --- a/app-crypt/codegroup/ChangeLog +++ b/app-crypt/codegroup/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-crypt/codegroup # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-crypt/codegroup/ChangeLog,v 1.1 2010/08/31 17:33:08 xmw Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-crypt/codegroup/ChangeLog,v 1.2 2010/12/29 02:34:47 xmw Exp $ + +*codegroup-20080907-r1 (29 Dec 2010) + + 29 Dec 2010; Michael Weber <xmw@gentoo.org> -codegroup-20080907.ebuild, + +codegroup-20080907-r1.ebuild, +files/codegroup-20080907-Makefile.patch: + Revbump to fix CFLAGS/LDFLAGS *codegroup-20080907 (31 Aug 2010) diff --git a/app-crypt/codegroup/codegroup-20080907.ebuild b/app-crypt/codegroup/codegroup-20080907-r1.ebuild index 133c3a2eb24b..f752a5a5980c 100644 --- a/app-crypt/codegroup/codegroup-20080907.ebuild +++ b/app-crypt/codegroup/codegroup-20080907-r1.ebuild @@ -1,10 +1,10 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-crypt/codegroup/codegroup-20080907.ebuild,v 1.1 2010/08/31 17:33:08 xmw Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-crypt/codegroup/codegroup-20080907-r1.ebuild,v 1.1 2010/12/29 02:34:44 xmw Exp $ EAPI=2 -inherit toolchain-funcs +inherit eutils toolchain-funcs DESCRIPTION="encode / decode binary file as five letter codegroups" HOMEPAGE="http://www.fourmilab.ch/codegroup/" @@ -19,12 +19,11 @@ DEPEND="app-arch/unzip" RDEPEND="" src_prepare() { - sed -i -e '/^CFLAGS = /d' Makefile || die + epatch "${FILESDIR}"/${P}-Makefile.patch } src_compile() { - tc-export CC - emake || die + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" || die } src_install() { diff --git a/app-crypt/codegroup/files/codegroup-20080907-Makefile.patch b/app-crypt/codegroup/files/codegroup-20080907-Makefile.patch new file mode 100644 index 000000000000..4fabba6cb3c6 --- /dev/null +++ b/app-crypt/codegroup/files/codegroup-20080907-Makefile.patch @@ -0,0 +1,20 @@ +--- codegroup-20080907/work/Makefile ++++ codegroup-20080907/work/Makefile +@@ -1,6 +1,7 @@ + + PROGS = codegroup +-CFLAGS = -O -Wall ++CFLAGS = ++LDFLAGS = + PAGER = more + + all: $(PROGS) +@@ -9,7 +10,7 @@ + rm -f $(PROGS) *.o *.bak *.zip core code.* *.out + + codegroup: codegroup.o +- $(CC) codegroup.o -o codegroup $(CFLAGS) ++ $(CC) codegroup.o -o codegroup $(CFLAGS) $(LDFLAGS) + + # Create zipped archive + |