summaryrefslogtreecommitdiff
path: root/print/evince
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2010-06-11 08:50:04 +0000
committerwiz <wiz@pkgsrc.org>2010-06-11 08:50:04 +0000
commitd8b750000b49a6b6d71c05de796108c7496b4659 (patch)
tree14c18f6a989f5ce8deb89e033ddaf7c9a118bcdc /print/evince
parent2a231652030fd0acfad161546b1c1cc2ccc5a09e (diff)
downloadpkgsrc-d8b750000b49a6b6d71c05de796108c7496b4659.tar.gz
Fix build with gtk2-2.20.
Diffstat (limited to 'print/evince')
-rw-r--r--print/evince/Makefile.common8
1 files changed, 7 insertions, 1 deletions
diff --git a/print/evince/Makefile.common b/print/evince/Makefile.common
index 08c2428a575..9577272cc7e 100644
--- a/print/evince/Makefile.common
+++ b/print/evince/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.31 2009/12/16 17:15:10 drochner Exp $
+# $NetBSD: Makefile.common,v 1.32 2010/06/11 09:56:15 wiz Exp $
#
# used by print/evince/Makefile
# used by print/evince-nautilus/Makefile
@@ -21,6 +21,12 @@ USE_PKGLOCALEDIR= yes
USE_TOOLS+= gmake intltool msgfmt pkg-config
USE_LANGUAGES= c c++
+# needed for evince-2.28 and gtk2-2.20 -- remove on next update!
+BUILDLINK_TRANSFORM+= rm:-DG_DISABLE_DEPRECATED
+BUILDLINK_TRANSFORM+= rm:-DGDK_DISABLE_DEPRECATED
+BUILDLINK_TRANSFORM+= rm:-DGDK_PIXBUF_DISABLE_DEPRECATED
+BUILDLINK_TRANSFORM+= rm:-DGTK_DISABLE_DEPRECATED
+
# XXX fake for "configure" to allow build w/o a gs installed
# (avoid hard dependency on a specific version)
CONFIGURE_ARGS+= --with-gs=${LOCALBASE}/bin/gs