summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiz <wiz>2002-10-07 22:53:33 +0000
committerwiz <wiz>2002-10-07 22:53:33 +0000
commitf1e1bf6aaa92f30a25a2bff4881ba2996a8cbf77 (patch)
tree0f329aff5fd14dcd7421d4cdd12b0a2d55b565aa
parent4314107dd409328e0d9c43eceb23e3b846d8813c (diff)
downloadpkgsrc-f1e1bf6aaa92f30a25a2bff4881ba2996a8cbf77.tar.gz
Add post-install target creating ${PREFIX}/lib/gtk-2.0/modules
so that binary packages and normal installations are in sync. (Some packages depending on gtk2 need this dir, so it's better to make gtk2 create it, says rh.)
-rw-r--r--x11/gtk2/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/x11/gtk2/Makefile b/x11/gtk2/Makefile
index 0a67b048ba2..6871091e0d2 100644
--- a/x11/gtk2/Makefile
+++ b/x11/gtk2/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2002/10/07 15:43:53 wiz Exp $
+# $NetBSD: Makefile,v 1.11 2002/10/07 22:53:33 wiz Exp $
#
DISTNAME= gtk+-2.0.6
@@ -25,6 +25,9 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-xinput=xfree
MAKE_ENV+= PKGLOCALEDIR="${PKGLOCALEDIR}"
+post-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/lib/gtk-2.0/modules
+
.include "../../devel/atk/buildlink2.mk"
.include "../../devel/gettext-lib/buildlink2.mk"
.include "../../devel/glib2/buildlink2.mk"