summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2018-06-30 06:09:39 +0200
committerUlrich Müller <ulm@gentoo.org>2018-06-30 06:09:39 +0200
commit4f4c41d4036405a7d6f25ef628e1cd77ed1fc7ba (patch)
tree38027689be4194cc08365d73de46893eb4aad96d /sci-astronomy/xephem
parentdev-python/websocket-client: bump to 0.48.0, fix examples (diff)
downloadgentoo-4f4c41d4036405a7d6f25ef628e1cd77ed1fc7ba.tar.gz
gentoo-4f4c41d4036405a7d6f25ef628e1cd77ed1fc7ba.tar.bz2
gentoo-4f4c41d4036405a7d6f25ef628e1cd77ed1fc7ba.zip
sci-astronomy/xephem: Don't link against libXp.
Closes: https://bugs.gentoo.org/650404 Package-Manager: Portage-2.3.41, Repoman-2.3.9
Diffstat (limited to 'sci-astronomy/xephem')
-rw-r--r--sci-astronomy/xephem/files/xephem-3.7.7-no_xprint.patch11
-rw-r--r--sci-astronomy/xephem/xephem-3.7.7.ebuild3
2 files changed, 13 insertions, 1 deletions
diff --git a/sci-astronomy/xephem/files/xephem-3.7.7-no_xprint.patch b/sci-astronomy/xephem/files/xephem-3.7.7-no_xprint.patch
new file mode 100644
index 000000000000..e41112f7b1e0
--- /dev/null
+++ b/sci-astronomy/xephem/files/xephem-3.7.7-no_xprint.patch
@@ -0,0 +1,11 @@
+--- a/GUI/xephem/Makefile
++++ b/GUI/xephem/Makefile
+@@ -30,7 +30,7 @@
+ endif
+
+ # for linux and Apple OS X
+-XLIBS = -lXm -lXp -lXt -lXext -lXmu -lX11
++XLIBS = -lXm -lXt -lXext -lXmu -lX11
+ CFLAGS := $(LIBINC) $(CFLAGS)
+ LIBS = $(LIBLNK) $(XLIBS) $(LIBLIB) -lm
+
diff --git a/sci-astronomy/xephem/xephem-3.7.7.ebuild b/sci-astronomy/xephem/xephem-3.7.7.ebuild
index ad77acbd7215..21274e2d1ade 100644
--- a/sci-astronomy/xephem/xephem-3.7.7.ebuild
+++ b/sci-astronomy/xephem/xephem-3.7.7.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -23,6 +23,7 @@ DEPEND="${RDEPEND}
PATCHES=(
"${FILESDIR}/${P}-respect_env_vars.patch"
"${FILESDIR}/${P}-implicits.patch"
+ "${FILESDIR}/${P}-no_xprint.patch"
)
src_prepare() {