summaryrefslogtreecommitdiff
path: root/editors/gedit
diff options
context:
space:
mode:
authorhubertf <hubertf>2008-09-30 08:04:30 +0000
committerhubertf <hubertf>2008-09-30 08:04:30 +0000
commit1ec46c9a9df89b854f6b6efe3d432a7240d93d2b (patch)
tree75466196de1fa89aeaf085a2d1e78dc8a3f2879a /editors/gedit
parent7d82249bfa32499d317f9dedd530c6a0c79a0915 (diff)
downloadpkgsrc-1ec46c9a9df89b854f6b6efe3d432a7240d93d2b.tar.gz
Prevent gzip(1) from nuking itself (yes, the gzip binary!) by passing
its name in the GZIP environment variable. Instead, pass the compression level in that variable.
Diffstat (limited to 'editors/gedit')
-rw-r--r--editors/gedit/patches/patch-aa21
1 files changed, 21 insertions, 0 deletions
diff --git a/editors/gedit/patches/patch-aa b/editors/gedit/patches/patch-aa
new file mode 100644
index 00000000000..e2a7be80036
--- /dev/null
+++ b/editors/gedit/patches/patch-aa
@@ -0,0 +1,21 @@
+$NetBSD: patch-aa,v 1.8 2008/09/30 08:04:30 hubertf Exp $
+
+--- plugins/taglist/Makefile.in.orig 2008-09-19 04:57:38.000000000 +0200
++++ plugins/taglist/Makefile.in
+@@ -138,6 +138,7 @@ GMSGFMT = @GMSGFMT@
+ GREP = @GREP@
+ GTKDOC_CHECK = @GTKDOC_CHECK@
+ GZIP = @GZIP@
++GZIP_ENV = --best
+ HELP_DIR = @HELP_DIR@
+ HTML_DIR = @HTML_DIR@
+ INSTALL = @INSTALL@
+@@ -650,7 +651,7 @@ uninstall-am: uninstall-pluginDATA unins
+
+ %.tags.gz: %.tags.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po)
+ LC_ALL=C $(INTLTOOL_MERGE) $(top_srcdir)/po $< $(@:.gz=) -x -u -c $(top_builddir)/po/.intltool-merge-cache
+- $(GZIP) --best -f $(@:.gz=)
++ env GZIP=$(GZIP_ENV) $(GZIP) -f $(@:.gz=)
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT: