summaryrefslogtreecommitdiff
path: root/graphics/gdk-pixbuf2
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2010-11-15 14:50:04 +0000
committerdrochner <drochner@pkgsrc.org>2010-11-15 14:50:04 +0000
commit5ae6e3af06e3964f5edf8e8b34f858da58bff0b6 (patch)
tree6fe49c77f933da520538260f25d0cf682e683600 /graphics/gdk-pixbuf2
parent7b225acdfdb36c573a13cb1f51ce393b7295f484 (diff)
downloadpkgsrc-5ae6e3af06e3964f5edf8e8b34f858da58bff0b6.tar.gz
kill the redundant "GTK2_LOADERS" variable -- there is no good reason
to include "loaders.mk" other to install a loader
Diffstat (limited to 'graphics/gdk-pixbuf2')
-rw-r--r--graphics/gdk-pixbuf2/loaders.mk10
1 files changed, 1 insertions, 9 deletions
diff --git a/graphics/gdk-pixbuf2/loaders.mk b/graphics/gdk-pixbuf2/loaders.mk
index 60406d2abd5..83c18b2b4b8 100644
--- a/graphics/gdk-pixbuf2/loaders.mk
+++ b/graphics/gdk-pixbuf2/loaders.mk
@@ -1,32 +1,24 @@
-# $NetBSD: loaders.mk,v 1.1 2010/11/14 20:11:41 drochner Exp $
+# $NetBSD: loaders.mk,v 1.2 2010/11/15 14:50:04 drochner Exp $
#
# This Makefile fragment is intended to be included by packages that install
# GTK2 modules. It takes care of rebuilding the corresponding databases at
# (de)installation time.
-#
-# The following variables can be defined:
-# GTK2_LOADERS - Set to YES if the package installs pixbuf loaders.
-#
.if !defined(GTK2_LOADERS_MK)
GTK2_LOADERS_MK= # defined
.if defined(_BUILDING_GTK2)
BUILDLINK_PREFIX.gdk-pixbuf2= ${PREFIX}
-GTK2_LOADERS= YES
.endif
GDK_PIXBUF_QUERY_LOADERS= \
${BUILDLINK_PREFIX.gdk-pixbuf2}/bin/gdk-pixbuf-query-loaders
-
-.if defined(GTK2_LOADERS) && !empty(GTK2_LOADERS:M[Yy][Ee][Ss])
GDK_PIXBUF_LOADERS_DB= \
${BUILDLINK_PREFIX.gdk-pixbuf2}/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
FILES_SUBST+= GDK_PIXBUF_LOADERS_DB=${GDK_PIXBUF_LOADERS_DB:Q}
FILES_SUBST+= GDK_PIXBUF_QUERY_LOADERS=${GDK_PIXBUF_QUERY_LOADERS:Q}
INSTALL_TEMPLATES+= ../../graphics/gdk-pixbuf2/files/loaders.tmpl
DEINSTALL_TEMPLATES+= ../../graphics/gdk-pixbuf2/files/loaders.tmpl
-.endif
#PRINT_PLIST_AWK+= /^lib\/gdk-pixbuf-2.0/2.10.0/loaders.cache { next; }