summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-01-16 21:23:38 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2018-01-16 21:24:54 +0100
commit9c5c5ae1907d3c28ea98dc872bbd96935e8dd2ff (patch)
tree2c94375b2b519bcd62272ba3a89b501f696858b3 /sci-libs/gdal/files
parentprofiles: powerpc: Widen scope of dev-libs/boost[mpi] stable.mask (diff)
downloadgentoo-9c5c5ae1907d3c28ea98dc872bbd96935e8dd2ff.tar.gz
gentoo-9c5c5ae1907d3c28ea98dc872bbd96935e8dd2ff.tar.bz2
gentoo-9c5c5ae1907d3c28ea98dc872bbd96935e8dd2ff.zip
sci-libs/gdal: Fix bash_completion install path
Closes: https://bugs.gentoo.org/641866 Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'sci-libs/gdal/files')
-rw-r--r--sci-libs/gdal/files/gdal-2.2.3-bashcomp-path.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/sci-libs/gdal/files/gdal-2.2.3-bashcomp-path.patch b/sci-libs/gdal/files/gdal-2.2.3-bashcomp-path.patch
new file mode 100644
index 000000000000..620b05fecbd1
--- /dev/null
+++ b/sci-libs/gdal/files/gdal-2.2.3-bashcomp-path.patch
@@ -0,0 +1,12 @@
+Fixes Gentoo-bug #641866
+
+--- a/scripts/GNUmakefile
++++ b/scripts/GNUmakefile
+@@ -6,5 +6,5 @@
+ install:
+ if test "x`pkg-config --version 2>/dev/null`" != "x" -a "x`pkg-config --variable=compatdir bash-completion`" != "x"; then \
+- $(INSTALL_DIR) $(DESTDIR)${prefix}`pkg-config --variable=compatdir bash-completion` ; \
+- cp gdal-bash-completion.sh $(DESTDIR)${prefix}`pkg-config --variable=compatdir bash-completion`; \
++ $(INSTALL_DIR) $(DESTDIR)`pkg-config --variable=completionsdir bash-completion` ; \
++ cp gdal-bash-completion.sh $(DESTDIR)`pkg-config --variable=completionsdir bash-completion`/gdal.sh; \
+ fi