summaryrefslogtreecommitdiff
path: root/print/evince
diff options
context:
space:
mode:
authorwiz <wiz>2010-06-11 08:50:04 +0000
committerwiz <wiz>2010-06-11 08:50:04 +0000
commitc30b90cb6f0262c75ef69de50f5019426bb4e846 (patch)
tree14c18f6a989f5ce8deb89e033ddaf7c9a118bcdc /print/evince
parent5577010f40e00af34d7ee90c217e3ba6ed3e4036 (diff)
downloadpkgsrc-c30b90cb6f0262c75ef69de50f5019426bb4e846.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