summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2013-06-03 05:29:21 +0000
committerPatrick Lauer <patrick@gentoo.org>2013-06-03 05:29:21 +0000
commit5d3aa2184f2d2f87911f81b80198e5c73a2c0c52 (patch)
tree33584e4346b58403ec50bd56ae3d12dbd189ccf5 /dev-libs
parentFix whitespace minorsyn. (diff)
downloadgentoo-2-5d3aa2184f2d2f87911f81b80198e5c73a2c0c52.tar.gz
gentoo-2-5d3aa2184f2d2f87911f81b80198e5c73a2c0c52.tar.bz2
gentoo-2-5d3aa2184f2d2f87911f81b80198e5c73a2c0c52.zip
Fix for underlinking bug #436314
(Portage version: 2.2.0_alpha177/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/pslib/ChangeLog7
-rw-r--r--dev-libs/pslib/pslib-0.4.5.ebuild13
2 files changed, 15 insertions, 5 deletions
diff --git a/dev-libs/pslib/ChangeLog b/dev-libs/pslib/ChangeLog
index fffdf6dbfb86..71dcc1cbbe96 100644
--- a/dev-libs/pslib/ChangeLog
+++ b/dev-libs/pslib/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-libs/pslib
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/pslib/ChangeLog,v 1.22 2012/09/10 14:08:22 scarabeus Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/pslib/ChangeLog,v 1.23 2013/06/03 05:29:21 patrick Exp $
+
+ 03 Jun 2013; Patrick Lauer <patrick@gentoo.org> pslib-0.4.5.ebuild:
+ Fix for underlinking bug #436314
*pslib-0.4.5 (10 Sep 2012)
diff --git a/dev-libs/pslib/pslib-0.4.5.ebuild b/dev-libs/pslib/pslib-0.4.5.ebuild
index 459b4ef20206..b3bda7fdcf1f 100644
--- a/dev-libs/pslib/pslib-0.4.5.ebuild
+++ b/dev-libs/pslib/pslib-0.4.5.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/pslib/pslib-0.4.5.ebuild,v 1.1 2012/09/10 14:08:22 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/pslib/pslib-0.4.5.ebuild,v 1.2 2013/06/03 05:29:21 patrick Exp $
EAPI=4
-inherit eutils
+inherit eutils autotools
DESCRIPTION="pslib is a C-library to create PostScript files on the fly."
HOMEPAGE="http://pslib.sourceforge.net/"
@@ -26,6 +26,13 @@ DEPEND="${RDEPEND}
dev-util/intltool
dev-perl/XML-Parser"
+src_prepare() {
+ # hackpatchfix underlinking
+ sed -i -e 's/$(TIFF_LIBS)/$(TIFF_LIBS) -lm/' src/Makefile.am || die
+ sed -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" -i configure.in || die
+ eautoreconf
+}
+
src_configure() {
econf \
--enable-bmp \