Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

kill the redundant "GTK2_LOADERS" variable -- there is no good reason

to include "loaders.mk" other to install a loader
  • Loading branch information...
commit 7d35e9802f5dab02c6247b2bea33fbd8c77cf1ad 1 parent 8da0006
drochner authored
View
3  graphics/gdk-pixbuf2-jasper/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2010/11/14 20:13:40 drochner Exp $
+# $NetBSD: Makefile,v 1.2 2010/11/15 14:50:04 drochner Exp $
#
DISTNAME= gdk-pixbuf-2.22.1
@@ -33,7 +33,6 @@ do-install:
${INSTALL_DATA} libpixbufloader-jasper.la \
${DESTDIR}${PREFIX}/lib/gdk-pixbuf-2.0/2.10.0/loaders
-GTK2_LOADERS= yes
.include "../../graphics/gdk-pixbuf2/loaders.mk"
BUILDLINK_API_DEPENDS.glib2+= glib2>=2.26.0
View
10 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; }
Please sign in to comment.
Something went wrong with that request. Please try again.