aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorkwm <kwm@FreeBSD.org>2012-04-08 02:10:15 +0800
committerkwm <kwm@FreeBSD.org>2012-04-08 02:10:15 +0800
commit64bbf31277475683cbf11341f045263bfda2dc32 (patch)
tree8237e2ab35fe0496578fa9832addfdda41f5343a /misc
parent2d1e5bf996fe60b3c961be9a4c86ce7cdb52e61a (diff)
downloadfreebsd-ports-gnome-64bbf31277475683cbf11341f045263bfda2dc32.tar.gz
freebsd-ports-gnome-64bbf31277475683cbf11341f045263bfda2dc32.tar.zst
freebsd-ports-gnome-64bbf31277475683cbf11341f045263bfda2dc32.zip
Add some patches to prevent installation and deinstall of locale files.
This isn't needed because the translations are already merged in the index file. So now it doesn't create some empty directories, which pkgng doesn't like. Submitted by: pkgng exp-run (via bapt@) Feature safe: yes
Diffstat (limited to 'misc')
-rw-r--r--misc/gnome-icon-theme/files/patch-Makefile.in10
-rw-r--r--misc/gnome-icon-theme/files/patch-po_Makefile.in.in11
2 files changed, 21 insertions, 0 deletions
diff --git a/misc/gnome-icon-theme/files/patch-Makefile.in b/misc/gnome-icon-theme/files/patch-Makefile.in
new file mode 100644
index 000000000000..bd6555750d66
--- /dev/null
+++ b/misc/gnome-icon-theme/files/patch-Makefile.in
@@ -0,0 +1,10 @@
+--- Makefile.in.orig 2012-04-07 04:47:46.187713696 -0400
++++ Makefile.in 2012-04-07 05:19:24.577708805 -0400
+@@ -837,7 +837,6 @@
+ # we don't want to install mo files, all translations are already stored
+ # in theme files
+ install-data-local:
+- $(MAKE) -C po uninstall
+ if [ -h $(DESTDIR)$(themedir) ]; then \
+ rm -f $(DESTDIR)$(themedir); \
+ fi
diff --git a/misc/gnome-icon-theme/files/patch-po_Makefile.in.in b/misc/gnome-icon-theme/files/patch-po_Makefile.in.in
new file mode 100644
index 000000000000..170f9ba9d831
--- /dev/null
+++ b/misc/gnome-icon-theme/files/patch-po_Makefile.in.in
@@ -0,0 +1,11 @@
+--- po/Makefile.in.in.orig 2012-04-07 05:18:32.737703470 -0400
++++ po/Makefile.in.in 2012-04-07 05:19:06.427701003 -0400
+@@ -97,7 +97,7 @@
+ $(GETTEXT_PACKAGE).pot: $(POTFILES)
+ $(GENPOT)
+
+-install: install-data
++install:
+ install-data: install-data-@USE_NLS@
+ install-data-no: all
+ install-data-yes: all