diff options
author | jmmv <jmmv> | 2005-01-12 11:20:20 +0000 |
---|---|---|
committer | jmmv <jmmv> | 2005-01-12 11:20:20 +0000 |
commit | bf2470c569e436c7baa4d08730d0e3b6e04d6b16 (patch) | |
tree | 15d8d2f05268239f3dbf7b660a4e058f9583b6e7 /x11 | |
parent | 51fa4f5d4a79b88f1ba3a2b9760941cdc248600c (diff) | |
download | pkgsrc-bf2470c569e436c7baa4d08730d0e3b6e04d6b16.tar.gz |
Remove another XDG-specific hardcoded path. Bump PKGREVISION to 1.
Diffstat (limited to 'x11')
-rw-r--r-- | x11/gtk2/Makefile | 5 | ||||
-rw-r--r-- | x11/gtk2/distinfo | 3 | ||||
-rw-r--r-- | x11/gtk2/patches/patch-ad | 13 |
3 files changed, 19 insertions, 2 deletions
diff --git a/x11/gtk2/Makefile b/x11/gtk2/Makefile index 774f92e1b85..376d02a3ad9 100644 --- a/x11/gtk2/Makefile +++ b/x11/gtk2/Makefile @@ -1,8 +1,9 @@ -# $NetBSD: Makefile,v 1.72 2005/01/09 17:30:46 jmmv Exp $ +# $NetBSD: Makefile,v 1.73 2005/01/12 11:20:20 jmmv Exp $ # DISTNAME= gtk+-2.6.1 PKGNAME= ${DISTNAME:S/gtk/gtk2/} +PKGREVISION= 1 CATEGORIES= x11 MASTER_SITES= ftp://ftp.gtk.org/pub/gtk/v2.6/ \ ftp://ftp.cs.umn.edu/pub/gimp/gtk/v2.6/ \ @@ -49,6 +50,8 @@ MAKE_DIRS+= ${PREFIX}/libdata/gtk-2.0 BUILD_DIRS= ${WRKSRC} ${WRKSRC}/demos/gtk-demo +CPPFLAGS+= -DPREFIX=\"\\\"${PREFIX}\\\"\" + PRINT_PLIST_AWK+= /^@dirrm share\/themes\/Default$$/ \ { print "@unexec $${RMDIR} %D/" $$2 \ " 2>/dev/null || $${TRUE}"; next; } diff --git a/x11/gtk2/distinfo b/x11/gtk2/distinfo index fdff5d445a4..be1f099ca1e 100644 --- a/x11/gtk2/distinfo +++ b/x11/gtk2/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.37 2005/01/09 17:30:47 jmmv Exp $ +$NetBSD: distinfo,v 1.38 2005/01/12 11:20:20 jmmv Exp $ SHA1 (gtk+-2.6.1.tar.bz2) = a584abc1d43e68dc79ebfb9e5d09bd9aa1a77781 Size (gtk+-2.6.1.tar.bz2) = 11070668 bytes SHA1 (patch-aa) = ab8a71ffa3b44816bb6f53ced068f80132b67c09 SHA1 (patch-ab) = 764729f9ee7e8b66e7165c34da0863b033af9552 SHA1 (patch-ac) = 42dff743263b141029a814d7dec9fdc5637a3cff +SHA1 (patch-ad) = dad88a4ee8bdac6bd3ea32b16ce4e0a3d1b202ab diff --git a/x11/gtk2/patches/patch-ad b/x11/gtk2/patches/patch-ad new file mode 100644 index 00000000000..34045852b93 --- /dev/null +++ b/x11/gtk2/patches/patch-ad @@ -0,0 +1,13 @@ +$NetBSD: patch-ad,v 1.11 2005/01/12 11:20:20 jmmv Exp $ + +--- gtk/xdgmime/xdgmime.c.orig 2004-12-09 18:26:52.000000000 +0100 ++++ gtk/xdgmime/xdgmime.c +@@ -207,7 +207,7 @@ xdg_run_command_on_dirs (XdgDirectoryFun + + xdg_data_dirs = getenv ("XDG_DATA_DIRS"); + if (xdg_data_dirs == NULL) +- xdg_data_dirs = "/usr/local/share/:/usr/share/"; ++ xdg_data_dirs = PREFIX "/share/"; + + ptr = xdg_data_dirs; + |