+++ /dev/null
---- config/rules.mk.orig 2006-05-06 19:28:46.000000000 +0200
-+++ config/rules.mk 2006-05-06 19:28:53.000000000 +0200
-@@ -44,7 +44,7 @@
- $(RANLIB) $@
-
- %.so:
-- $(LINK.cc) $(SHARED) $^ -o $@
-+ $(LINK.cc) $(SHARED) $^ $(LDLIBS) -o $@
-
- %.dll:
- $(LINK.cc) $(SHARED) $^ -o $@
---- xplc/vars.mk.orig 2006-05-06 19:32:06.000000000 +0200
-+++ xplc/vars.mk 2006-05-06 19:32:12.000000000 +0200
-@@ -32,7 +32,7 @@
-
- ifneq ("$(enable_loader)", "no")
- ifneq ("$(with_dlopen)", "no")
--libxplc.so: LDFLAGS+=$(with_dlopen)
-+libxplc.so: LDLIBS+=$(with_dlopen)
- endif
- endif
-
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <!-- maintainer-needed -->
- <longdescription>cross platform lightweight components library for C++</longdescription>
- <upstream>
- <remote-id type="sourceforge">xplc</remote-id>
- </upstream>
-</pkgmetadata>
+++ /dev/null
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=0
-
-inherit eutils
-
-DESCRIPTION="cross platform lightweight components library for C++"
-HOMEPAGE="http://xplc.sourceforge.net"
-SRC_URI="mirror://sourceforge/xplc/${P}.tar.gz"
-
-LICENSE="LGPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 hppa ppc sparc x86"
-IUSE=""
-
-DEPEND="virtual/pkgconfig"
-RDEPEND=""
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- epatch "${FILESDIR}/${P}-as-needed.patch"
-
- #solve conflict with uuidgen utility installed by sys-fs/e2fsprogs (#116699)
- sed -i -e "s/uuidgen/xplc-uuidgen/g" -e "s/uuidcdef/xplc-uuidcdef/g" \
- uuid/{rules.mk,vars.mk} config/rules.mk \
- uuid/bin/*.1 include/xplc/*.h && \
- mv uuid/bin/uuidgen.1 uuid/bin/xplc-uuidgen.1 &&
- mv uuid/bin/uuidgen.c uuid/bin/xplc-uuidgen.c ||
- die "uuidgen rename failed"
-}
-
-src_test() {
- make tests || die "at least one test has failed"
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
- dosym /usr/lib/pkgconfig/${P}.pc /usr/lib/pkgconfig/${PN}.pc
- dodoc LICENSE README NEWS CREDITS
-}