summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeert Bevin <gbevin@gentoo.org>2002-02-15 08:48:09 +0000
committerGeert Bevin <gbevin@gentoo.org>2002-02-15 08:48:09 +0000
commit275b323cc4bf77276926bf8ba2d0a25409d48250 (patch)
tree9ded1357c766dadc44628236e3898afd444ff4f7 /app-text/sgmltools-lite
parentCloses bug 694. (diff)
downloadgentoo-2-275b323cc4bf77276926bf8ba2d0a25409d48250.tar.gz
gentoo-2-275b323cc4bf77276926bf8ba2d0a25409d48250.tar.bz2
gentoo-2-275b323cc4bf77276926bf8ba2d0a25409d48250.zip
fixed sandbox violation
Diffstat (limited to 'app-text/sgmltools-lite')
-rw-r--r--app-text/sgmltools-lite/sgmltools-lite-3.0.3.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/app-text/sgmltools-lite/sgmltools-lite-3.0.3.ebuild b/app-text/sgmltools-lite/sgmltools-lite-3.0.3.ebuild
index 873cb7a91ba4..32570517fdb5 100644
--- a/app-text/sgmltools-lite/sgmltools-lite-3.0.3.ebuild
+++ b/app-text/sgmltools-lite/sgmltools-lite-3.0.3.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2001 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Dan Armak <danarmak@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/app-text/sgmltools-lite/sgmltools-lite-3.0.3.ebuild,v 1.4 2001/10/21 22:11:13 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/sgmltools-lite/sgmltools-lite-3.0.3.ebuild,v 1.5 2002/02/15 08:48:09 gbevin Exp $
S=${WORKDIR}/${P}
SRC_URI="http://prdownloads.sourceforge.net/sgmltools-lite/${P}.tar.gz
@@ -32,6 +32,10 @@ src_compile() {
}
src_install () {
+ mv bin/gensgmlenv bin/gensgmlenv_orig
+ sed -e "s#/etc/sgml/sgml.env#${D}/etc/sgml/sgml.env#g" \
+ -e "s#/etc/sgml/sgml.cenv#${D}/etc/sgml/sgml.cenv#g" \
+ bin/gensgmlenv_orig > bin/gensgmlenv
make DESTDIR=${D} install
cd ${S}/bin