summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Mavrinac <aaron@pygar.(none)>2009-08-31 15:32:34 -0400
committerAaron Mavrinac <aaron@pygar.(none)>2009-08-31 15:32:34 -0400
commitb2832d2c2cc5b84e8c8de87d78360e76b66f82cf (patch)
treee934bc357ec7dc45cd16f03c77f97861f651535a /media-libs/opencv/opencv-1.1.0_pre1.ebuild
parentInitial import of dev-python/progressbar ebuild. (diff)
downloadezod-b2832d2c2cc5b84e8c8de87d78360e76b66f82cf.tar.gz
ezod-b2832d2c2cc5b84e8c8de87d78360e76b66f82cf.tar.bz2
ezod-b2832d2c2cc5b84e8c8de87d78360e76b66f82cf.zip
Added 2 patches to media-libs/opencv to fix libtool errors.
Diffstat (limited to 'media-libs/opencv/opencv-1.1.0_pre1.ebuild')
-rw-r--r--media-libs/opencv/opencv-1.1.0_pre1.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/media-libs/opencv/opencv-1.1.0_pre1.ebuild b/media-libs/opencv/opencv-1.1.0_pre1.ebuild
index 8ce780c..5d74d6e 100644
--- a/media-libs/opencv/opencv-1.1.0_pre1.ebuild
+++ b/media-libs/opencv/opencv-1.1.0_pre1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/opencv/opencv-1.0.0-r1.ebuild,v 1.4 2008/10/25 22:22:51 pvdabeel Exp $
+# $Header: $
EAPI="1"
inherit eutils flag-o-matic autotools
@@ -41,6 +41,8 @@ src_unpack() {
# remove the install-hook that runs ldconfig.
sed -i '/install-hook:/,/^$/d' Makefile.am
+ epatch "${FILESDIR}"/${P}-libtool.patch
+ epatch "${FILESDIR}"/${P}-link.patch
epatch "${FILESDIR}"/${P}-stereorectify.patch
eautoreconf || die "eautoreconf failed"
@@ -48,6 +50,7 @@ src_unpack() {
src_compile() {
use debug && filter-ldflags -O1 -Wl --enable-new-dtags -s
+ filter-ldflags -L
local myconf="--without-quicktime"
use python && myconf="${myconf} --with-swig --with-python" \