summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2011-10-02 20:47:39 +0000
committerPacho Ramos <pacho@gentoo.org>2011-10-02 20:47:39 +0000
commit1366e367953aa7350cbd6e49ed472d91db4d0160 (patch)
tree79a07be92d60d953fe22080215c8a04d620e728d /gnome-base/libgnomeprintui/libgnomeprintui-2.18.6.ebuild
parenthdaps-gl: add freeglut dep. (diff)
downloadgentoo-2-1366e367953aa7350cbd6e49ed472d91db4d0160.tar.gz
gentoo-2-1366e367953aa7350cbd6e49ed472d91db4d0160.tar.bz2
gentoo-2-1366e367953aa7350cbd6e49ed472d91db4d0160.zip
Drop DEPRECATED flags, bug #384815; drop old.
(Portage version: 2.1.10.20/cvs/Linux x86_64)
Diffstat (limited to 'gnome-base/libgnomeprintui/libgnomeprintui-2.18.6.ebuild')
-rw-r--r--gnome-base/libgnomeprintui/libgnomeprintui-2.18.6.ebuild12
1 files changed, 11 insertions, 1 deletions
diff --git a/gnome-base/libgnomeprintui/libgnomeprintui-2.18.6.ebuild b/gnome-base/libgnomeprintui/libgnomeprintui-2.18.6.ebuild
index 35478c45249c..7c5decabd807 100644
--- a/gnome-base/libgnomeprintui/libgnomeprintui-2.18.6.ebuild
+++ b/gnome-base/libgnomeprintui/libgnomeprintui-2.18.6.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-base/libgnomeprintui/libgnomeprintui-2.18.6.ebuild,v 1.7 2011/03/22 19:18:24 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-base/libgnomeprintui/libgnomeprintui-2.18.6.ebuild,v 1.8 2011/10/02 20:47:39 pacho Exp $
EAPI="3"
GCONF_DEBUG="no"
@@ -28,3 +28,13 @@ pkg_setup() {
DOCS="AUTHORS ChangeLog NEWS README"
G2CONF="${G2CONF} --disable-static"
}
+
+src_prepare() {
+ gnome2_src_prepare
+
+ # Drop DEPRECATED flags, bug #384815
+ sed -i -e 's:-D[A-Z_]*DISABLE_DEPRECATED:$(NULL):g' \
+ libgnomeprintui/gpaui/Makefile.am libgnomeprintui/gpaui/Makefile.in \
+ libgnomeprintui/Makefile.am libgnomeprintui/Makefile.in \
+ tests/Makefile.am tests/Makefile.in || die
+}