sci-libs/gdal: fix perl sandbox violations
authorAmy Liffey <amynka@gentoo.org>
Tue, 16 Oct 2018 18:24:37 +0000 (20:24 +0200)
committerAmy Liffey <amynka@gentoo.org>
Tue, 16 Oct 2018 18:27:05 +0000 (20:27 +0200)
Suggested-by: David Haller <gentoo@dhaller.de>
Closes: https://bugs.gentoo.org/663282
Signed-off-by: Amy Liffey <amynka@gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.11

sci-libs/gdal/gdal-2.3.1.ebuild

index e1f97f524f2eba193c70f79543bb2fbe90a8cde4..65af4595613d718ae9bf9d4e49a1da2326ed7d65 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -276,6 +276,7 @@ src_compile() {
 src_install() {
        if use perl ; then
                pushd "${S}"/swig/perl > /dev/null || die
+               myinst=( DESTDIR="${D}" )
                perl-module_src_install
                popd > /dev/null || die
                sed -e 's:BINDINGS        =       \(.*\) perl:BINDINGS        =       \1:g' \