sci-astronomy/xephem: Don't link against libXp.
authorUlrich Müller <ulm@gentoo.org>
Sat, 30 Jun 2018 04:09:39 +0000 (06:09 +0200)
committerUlrich Müller <ulm@gentoo.org>
Sat, 30 Jun 2018 04:09:39 +0000 (06:09 +0200)
Closes: https://bugs.gentoo.org/650404
Package-Manager: Portage-2.3.41, Repoman-2.3.9

sci-astronomy/xephem/files/xephem-3.7.7-no_xprint.patch [new file with mode: 0644]
sci-astronomy/xephem/xephem-3.7.7.ebuild

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 (file)
index 0000000..e41112f
--- /dev/null
@@ -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
index ad77acbd7215dd51886ad632b807e347510bd93d..21274e2d1aded4ea3d1b1399bd0daf5434e593d7 100644 (file)
@@ -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() {