summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2005-09-16 06:10:15 +0000
committerjlam <jlam@pkgsrc.org>2005-09-16 06:10:15 +0000
commit1dce0d192316183ddae21de2654be68b5e9a5cc9 (patch)
treecc7f52c8ae9103fb346a6f82e0e052657adf1c62 /x11
parentfe848c1105bf970a17fc9ecd81cd84546e28d43c (diff)
downloadpkgsrc-1dce0d192316183ddae21de2654be68b5e9a5cc9.tar.gz
Remove the module databases during post-install since they're created
the +INSTALL script as part of the POST-INSTALL action. This makes this package pass CHECK_FILES=yes. No changes to the binary package.
Diffstat (limited to 'x11')
-rw-r--r--x11/gtk2/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/x11/gtk2/Makefile b/x11/gtk2/Makefile
index 862488380ea..57c2fde7170 100644
--- a/x11/gtk2/Makefile
+++ b/x11/gtk2/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.91 2005/08/25 21:04:10 jmmv Exp $
+# $NetBSD: Makefile,v 1.92 2005/09/16 06:10:15 jlam Exp $
#
DISTNAME= gtk+-2.6.10
@@ -65,7 +65,12 @@ SUBST_FILES.pthread= gdk-pixbuf/Makefile.in
USE_TOOLS+= gawk
.endif
+# We remove the module databases during post-install since we create them
+# anew in the +INSTALL script as part of the POST-INSTALL action.
+#
post-install:
+ ${RM} -f ${GTK_IMMODULES_DB}
+ ${RM} -f ${GDK_PIXBUF_LOADERS_DB}
${INSTALL_DATA_DIR} ${PREFIX}/lib/gtk-2.0/modules
${INSTALL_DATA_DIR} ${PREFIX}/lib/gtk-2.0/2.4.0/filesystems