/[gentoo-x86]/app-text/podofo/podofo-0.9.1.ebuild
Gentoo

Diff of /app-text/podofo/podofo-0.9.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.9 Revision 1.10
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2012 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/app-text/podofo/Attic/podofo-0.9.1.ebuild,v 1.9 2012/05/01 19:24:25 jer Exp $ 3# $Header: /var/cvsroot/gentoo-x86/app-text/podofo/Attic/podofo-0.9.1.ebuild,v 1.10 2012/10/28 02:45:53 zmedico Exp $
4 4
5EAPI=2 5EAPI=2
6inherit cmake-utils flag-o-matic multilib 6inherit cmake-utils flag-o-matic multilib
7 7
8DESCRIPTION="PoDoFo is a C++ library to work with the PDF file format." 8DESCRIPTION="PoDoFo is a C++ library to work with the PDF file format."
31src_prepare() { 31src_prepare() {
32 32
33 sed -i \ 33 sed -i \
34 -e "s:LIBDIRNAME \"lib\":LIBDIRNAME \"$(get_libdir)\":" \ 34 -e "s:LIBDIRNAME \"lib\":LIBDIRNAME \"$(get_libdir)\":" \
35 CMakeLists.txt || die 35 CMakeLists.txt || die
36
37 # Bug #439784: Add missing unistd include for close() and unlink().
38 sed -i 's:^#include <stdio.h>$:#include <unistd.h>\n\0:' -i \
39 test/unit/TestUtils.cpp || die
36 40
37 # TODO: fix these test cases 41 # TODO: fix these test cases
38 # ColorTest.cpp:62:Assertion 42 # ColorTest.cpp:62:Assertion
39 # Test name: ColorTest::testDefaultConstructor 43 # Test name: ColorTest::testDefaultConstructor
40 # expected exception not thrown 44 # expected exception not thrown

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

  ViewVC Help
Powered by ViewVC 1.1.20