+++ /dev/null
-Index: clxclient-3.9.0/Makefile
-===================================================================
---- clxclient-3.9.0.orig/Makefile
-+++ clxclient-3.9.0/Makefile
-@@ -24,6 +24,7 @@
- PREFIX = /usr/local
- SUFFIX := $(shell uname -m | sed -e 's/^unknown/$//' -e 's/^i.86/$//' -e 's/^x86_64/$/64/')
- LIBDIR = lib$(SUFFIX)
-+PKGCONFIG = pkg-config
-
-
- MAJVERS = 3
-@@ -31,9 +32,9 @@ MINVERS = 9.0
- VERSION = $(MAJVERS).$(MINVERS)
-
-
--CPPFLAGS += -Wall -I. -I/usr/X11R6/include `freetype-config --cflags` -fpic -DVERSION=\"$(VERSION)\" -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -O2
--LDFLAGS += -L/usr/X11R6/$(LIBDIR) `freetype-config --libs`
--LDLIBS +=
-+CPPFLAGS += -Wall -I. -I/usr/X11R6/include `$(PKGCONFIG) --cflags freetype2` -fpic -DVERSION=\"$(VERSION)\" -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
-+LDFLAGS += -L/usr/X11R6/$(LIBDIR)
-+LDLIBS += `$(PKGCONFIG) --libs freetype2`
-
-
- CLXCLIENT_SO = libclxclient.so
-@@ -46,15 +47,14 @@ CLXCLIENT_H = clxclient.h
-
-
- $(CLXCLIENT_MIN): $(CLXCLIENT_O)
-- g++ -shared $(LDFLAGS) -Wl,-soname,$(CLXCLIENT_MAJ) -o $(CLXCLIENT_MIN) $(CLXCLIENT_O) $(CLXCLIENT_DEP)
-+ $(CXX) -shared $(LDFLAGS) -Wl,-soname,$(CLXCLIENT_MAJ) -o $(CLXCLIENT_MIN) $(CLXCLIENT_O) $(CLXCLIENT_DEP) $(LDLIBS)
-
-
- install: $(CLXCLIENT_MIN)
-- install -d $(PREFIX)/$(LIBDIR)
-- install -m 644 $(CLXCLIENT_H) $(PREFIX)/include
-- install -m 755 $(CLXCLIENT_MIN) $(PREFIX)/$(LIBDIR)
-- ldconfig
-- ln -sf $(CLXCLIENT_MIN) $(PREFIX)/$(LIBDIR)/$(CLXCLIENT_SO)
-+ install -m 644 -D $(CLXCLIENT_H) $(PREFIX)/include/$(CLXCLIENT_H)
-+ install -m 755 -D $(CLXCLIENT_MIN) $(PREFIX)/$(LIBDIR)/$(CLXCLIENT_MIN)
-+ ln -sf $(CLXCLIENT_MIN) $(PREFIX)/$(LIBDIR)/$(CLXCLIENT_MAJ)
-+ ln -sf $(CLXCLIENT_MAJ) $(PREFIX)/$(LIBDIR)/$(CLXCLIENT_SO)
-
-
- clean:
+++ /dev/null
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils multilib toolchain-funcs
-
-MY_P=${P/lib/}
-
-S="${WORKDIR}/${MY_P}"
-
-DESCRIPTION="C++ wrapper library around the X Window System API"
-HOMEPAGE="http://kokkinizita.linuxaudio.org/linuxaudio/index.html"
-SRC_URI="http://kokkinizita.linuxaudio.org/linuxaudio/downloads/${MY_P}.tar.bz2"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="amd64 ~ppc ~sparc x86"
-IUSE=""
-
-RDEPEND="
- >=dev-libs/libclthreads-2.4.0
- media-libs/freetype:2
- x11-libs/libX11
- x11-libs/libXft
-"
-DEPEND="${RDEPEND}"
-
-src_prepare() {
- epatch "${FILESDIR}/${P}-Makefile.patch"
-}
-
-src_compile() {
- tc-export CC CXX
- emake PREFIX="${EPREFIX}/usr" LIBDIR="$(get_libdir)" PKGCONFIG="$(tc-getPKG_CONFIG)"
-}
-
-src_install() {
- emake PREFIX="${ED}/usr" LIBDIR="$(get_libdir)" PKGCONFIG="$(tc-getPKG_CONFIG)" install
- dodoc AUTHORS
-}