summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2017-12-28 22:17:22 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2017-12-28 22:20:06 +0100
commitd276308209fe1c81e3a3d4fbc05787d02dd2b7d4 (patch)
tree7b3d930e9bf7bb781f3a954dff16a72ee074071f /sci-geosciences/gpsd
parentdev-db/plr: new package (diff)
downloadgentoo-d276308209fe1c81e3a3d4fbc05787d02dd2b7d4.tar.gz
gentoo-d276308209fe1c81e3a3d4fbc05787d02dd2b7d4.tar.bz2
gentoo-d276308209fe1c81e3a3d4fbc05787d02dd2b7d4.zip
sci-geosciences/gpsd: Fix install with USE=-X,python
Thanks-to: Philippe Trottier <tchiwam@gmail.com> Bug: https://bugs.gentoo.org/640998 Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'sci-geosciences/gpsd')
-rw-r--r--sci-geosciences/gpsd/gpsd-3.17-r1.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/sci-geosciences/gpsd/gpsd-3.17-r1.ebuild b/sci-geosciences/gpsd/gpsd-3.17-r1.ebuild
index 7c7318b7d1f4..98fba863a5a6 100644
--- a/sci-geosciences/gpsd/gpsd-3.17-r1.ebuild
+++ b/sci-geosciences/gpsd/gpsd-3.17-r1.ebuild
@@ -159,7 +159,7 @@ src_install() {
if use python ; then
distutils-r1_src_install
# Delete all X related packages if user doesn't want them
- if ! use X ; then
+ if ! use X && [[ -f "${ED%/}"/usr/bin/xgps ]]; then
rm "${ED%/}"/usr/bin/xgps* || die
fi
fi