diff options
author | Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> | 2010-06-23 08:24:20 +0000 |
---|---|---|
committer | Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> | 2010-06-23 08:24:20 +0000 |
commit | 20a7f0bc193f68d704f51736922cbe1bf5b9f422 (patch) | |
tree | 3d7f4472be342957494e6aa5ad01b52a8edca858 /app-text/pdftk/pdftk-1.41-r1.ebuild | |
parent | version bump (diff) | |
download | gentoo-2-20a7f0bc193f68d704f51736922cbe1bf5b9f422.tar.gz gentoo-2-20a7f0bc193f68d704f51736922cbe1bf5b9f422.tar.bz2 gentoo-2-20a7f0bc193f68d704f51736922cbe1bf5b9f422.zip |
Bring back nodrm USE flag, bug #296455
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'app-text/pdftk/pdftk-1.41-r1.ebuild')
-rw-r--r-- | app-text/pdftk/pdftk-1.41-r1.ebuild | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/app-text/pdftk/pdftk-1.41-r1.ebuild b/app-text/pdftk/pdftk-1.41-r1.ebuild index fce3ea6aa4e8..4c2c444a2f00 100644 --- a/app-text/pdftk/pdftk-1.41-r1.ebuild +++ b/app-text/pdftk/pdftk-1.41-r1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/pdftk/pdftk-1.41-r1.ebuild,v 1.5 2009/11/14 16:30:01 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/pdftk/pdftk-1.41-r1.ebuild,v 1.6 2010/06/23 08:24:20 chithanh Exp $ EAPI="2" @@ -12,7 +12,7 @@ SRC_URI="http://www.pdfhacks.com/pdftk/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ppc ~ppc64 x86" -IUSE="" +IUSE="nodrm" DEPEND=">=sys-devel/gcc-4.3.1[gcj]" S="${WORKDIR}/${P}/${PN}" @@ -28,6 +28,10 @@ src_unpack() { epatch "${FILESDIR}/${P}-honor-ldflags.patch" # force usage of custom CFLAGS. sed -iorig 's:-O2:\$(CFLAGS):g' "${S}"/Makefile.Generic + # nodrm patch, bug 296455 + if use nodrm; then + sed -i 's:passwordIsOwner= false:passwordIsOwner= true:' "${WORKDIR}/${P}"/java_libs/com/lowagie/text/pdf/PdfReader.java || die + fi } src_compile() { |