summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaohiro Aota <naota@gentoo.org>2012-06-13 22:40:26 +0000
committerNaohiro Aota <naota@gentoo.org>2012-06-13 22:40:26 +0000
commitf10ca3a7b96967b5a07a0762f02fda8dd0658cf6 (patch)
treeba6713259c0b7410389670c8ebdb22101132c60b /app-text/uvconv
parentRemove older versions (diff)
downloadgentoo-2-f10ca3a7b96967b5a07a0762f02fda8dd0658cf6.tar.gz
gentoo-2-f10ca3a7b96967b5a07a0762f02fda8dd0658cf6.tar.bz2
gentoo-2-f10ca3a7b96967b5a07a0762f02fda8dd0658cf6.zip
Add patch to use LDFLAGS properly
(Portage version: 2.2.0_alpha109/cvs/Linux x86_64)
Diffstat (limited to 'app-text/uvconv')
-rw-r--r--app-text/uvconv/ChangeLog8
-rw-r--r--app-text/uvconv/files/uvconv-1.1.3b-ldflags.patch13
-rw-r--r--app-text/uvconv/uvconv-1.1.3b-r1.ebuild7
3 files changed, 23 insertions, 5 deletions
diff --git a/app-text/uvconv/ChangeLog b/app-text/uvconv/ChangeLog
index 928ecfb904c6..d3c272573df0 100644
--- a/app-text/uvconv/ChangeLog
+++ b/app-text/uvconv/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-text/uvconv
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/uvconv/ChangeLog,v 1.5 2008/12/17 12:20:34 matsuu Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/uvconv/ChangeLog,v 1.6 2012/06/13 22:40:26 naota Exp $
+
+ 13 Jun 2012; Naohiro Aota <naota@gentoo.org>
+ +files/uvconv-1.1.3b-ldflags.patch, uvconv-1.1.3b-r1.ebuild:
+ Add patch to use LDFLAGS properly
*uvconv-1.1.3b-r1 (17 Dec 2008)
diff --git a/app-text/uvconv/files/uvconv-1.1.3b-ldflags.patch b/app-text/uvconv/files/uvconv-1.1.3b-ldflags.patch
new file mode 100644
index 000000000000..3aef9b3c3038
--- /dev/null
+++ b/app-text/uvconv/files/uvconv-1.1.3b-ldflags.patch
@@ -0,0 +1,13 @@
+diff --git a/uvconvert/Makefile b/uvconvert/Makefile
+index 8819779..c610965 100644
+--- a/uvconvert/Makefile
++++ b/uvconvert/Makefile
+@@ -6,7 +6,7 @@ OPTFLAGS="-O3"
+
+ all: uvconv
+ uvconv: ${OBJS} libvnconv
+- ${CXX} ${CXXFLAGS} ${OPTFLAGS} -o $@ ${OBJS} ${LIBS}
++ ${CXX} ${CXXFLAGS} ${OPTFLAGS} -o $@ ${OBJS} ${LIBS} ${LDFLAGS}
+
+ ${OBJS}: %.o: %.cpp
+ ${CXX} ${CXXFLAGS} ${OPTFLAGS} -c $< -o $@ -I${INCLUDE_DIR}
diff --git a/app-text/uvconv/uvconv-1.1.3b-r1.ebuild b/app-text/uvconv/uvconv-1.1.3b-r1.ebuild
index e7322904968b..8f11ee0d639c 100644
--- a/app-text/uvconv/uvconv-1.1.3b-r1.ebuild
+++ b/app-text/uvconv/uvconv-1.1.3b-r1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/uvconv/uvconv-1.1.3b-r1.ebuild,v 1.1 2008/12/17 12:20:34 matsuu Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/uvconv/uvconv-1.1.3b-r1.ebuild,v 1.2 2012/06/13 22:40:26 naota Exp $
inherit eutils toolchain-funcs
@@ -18,7 +18,8 @@ S="${WORKDIR}/${PN}"
src_unpack() {
unpack ${A}
cd "${S}"
- epatch "${FILESDIR}/${P}-gcc43.patch"
+ epatch "${FILESDIR}/${P}-gcc43.patch" \
+ "${FILESDIR}"/${P}-ldflags.patch
}
src_compile() {