summaryrefslogtreecommitdiff
path: root/app-text/barcode/barcode-0.99.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/barcode/barcode-0.99.ebuild')
-rw-r--r--app-text/barcode/barcode-0.99.ebuild13
1 files changed, 4 insertions, 9 deletions
diff --git a/app-text/barcode/barcode-0.99.ebuild b/app-text/barcode/barcode-0.99.ebuild
index ce0692e849f4..bd58bc146e16 100644
--- a/app-text/barcode/barcode-0.99.ebuild
+++ b/app-text/barcode/barcode-0.99.ebuild
@@ -1,9 +1,7 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
-
-inherit eutils multilib
+EAPI=7
DESCRIPTION="barcode generator"
HOMEPAGE="https://www.gnu.org/software/barcode/"
@@ -12,10 +10,12 @@ SRC_URI="mirror://gnu/barcode/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos"
-IUSE=""
+
RDEPEND="app-text/libpaper"
DEPEND="${RDEPEND}"
+PATCHES=( "${FILESDIR}"/${P}-fno-common.patch )
+
src_prepare() {
sed -i -e '/^LDFLAGS =/s:=:+=:' \
-e "/^aLIBDIR/s:lib:$(get_libdir):" \
@@ -25,8 +25,3 @@ src_prepare() {
default
}
-
-src_install() {
- default
- dodoc ChangeLog README TODO
-}