summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaweł Hajdan <phajdan.jr@gentoo.org>2011-07-23 22:37:59 +0000
committerPaweł Hajdan <phajdan.jr@gentoo.org>2011-07-23 22:37:59 +0000
commit564fe17ff53c9b91d3e441104e715891189076f8 (patch)
tree5c51f8fcf863f0d0e36ef36a7553be21aadb2116 /net-print/foo2zjs
parentFix bug #374203 (patch by Theofilos Intzoglou). (diff)
downloadgentoo-2-564fe17ff53c9b91d3e441104e715891189076f8.tar.gz
gentoo-2-564fe17ff53c9b91d3e441104e715891189076f8.tar.bz2
gentoo-2-564fe17ff53c9b91d3e441104e715891189076f8.zip
Add install-hotplug to src_install, and other installation fixes; bug #375397 by Dimitrije Zivkovic.
(Portage version: 2.1.10.3/cvs/Linux i686)
Diffstat (limited to 'net-print/foo2zjs')
-rw-r--r--net-print/foo2zjs/ChangeLog6
-rw-r--r--net-print/foo2zjs/foo2zjs-99999999.ebuild9
2 files changed, 12 insertions, 3 deletions
diff --git a/net-print/foo2zjs/ChangeLog b/net-print/foo2zjs/ChangeLog
index 8a012c4d8166..968807791fdc 100644
--- a/net-print/foo2zjs/ChangeLog
+++ b/net-print/foo2zjs/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-print/foo2zjs
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-print/foo2zjs/ChangeLog,v 1.44 2011/07/23 22:04:37 phajdan.jr Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-print/foo2zjs/ChangeLog,v 1.45 2011/07/23 22:37:59 phajdan.jr Exp $
+
+ 23 Jul 2011; Pawel Hajdan jr <phajdan.jr@gentoo.org> foo2zjs-99999999.ebuild:
+ Add install-hotplug to src_install, and other installation fixes; bug #375397
+ by Dimitrije Zivkovic.
23 Jul 2011; Pawel Hajdan jr <phajdan.jr@gentoo.org> foo2zjs-99999999.ebuild:
Add sys-process/time dependency for tests.
diff --git a/net-print/foo2zjs/foo2zjs-99999999.ebuild b/net-print/foo2zjs/foo2zjs-99999999.ebuild
index 530c45ba11ed..98ebf15c28ab 100644
--- a/net-print/foo2zjs/foo2zjs-99999999.ebuild
+++ b/net-print/foo2zjs/foo2zjs-99999999.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-print/foo2zjs/foo2zjs-99999999.ebuild,v 1.4 2011/07/23 22:04:37 phajdan.jr Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-print/foo2zjs/foo2zjs-99999999.ebuild,v 1.5 2011/07/23 22:37:59 phajdan.jr Exp $
EAPI="4"
@@ -23,6 +23,7 @@ RDEPEND="net-print/cups
DEPEND="${RDEPEND}
app-arch/unzip
net-misc/wget
+ sys-apps/ed
sys-devel/bc
test? ( sys-process/time )"
@@ -45,6 +46,10 @@ src_unpack() {
}
src_prepare() {
+ # Prevent an access violation.
+ sed -e "s~/etc~${D}/etc~g" -i Makefile
+ sed -e "s~/etc~${D}/etc~g" -i hplj1000
+
# Prevent an access violation, do not create symlinks on live file system
# during installation.
sed -e 's/ install-filter / /g' -i Makefile
@@ -55,5 +60,5 @@ src_install() {
# for them.
mkdir -p "${D}/usr/share/ppd"
- emake DESTDIR="${D}" install
+ emake DESTDIR="${D}" -j1 install install-hotplug
}