summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Shapovalov <george@gentoo.org>2003-04-10 23:20:56 +0000
committerGeorge Shapovalov <george@gentoo.org>2003-04-10 23:20:56 +0000
commit4c8a74763f79d02fc7b1cd5dc895fca8fd6e56c5 (patch)
tree862fa45043ee7489b15f5a30ebde852fc16468e2 /dev-lang/nhc98
parentbump (diff)
downloadgentoo-2-4c8a74763f79d02fc7b1cd5dc895fca8fd6e56c5.tar.gz
gentoo-2-4c8a74763f79d02fc7b1cd5dc895fca8fd6e56c5.tar.bz2
gentoo-2-4c8a74763f79d02fc7b1cd5dc895fca8fd6e56c5.zip
a modification to the installed hmakerc config
Diffstat (limited to 'dev-lang/nhc98')
-rw-r--r--dev-lang/nhc98/nhc98-1.16.ebuild12
1 files changed, 9 insertions, 3 deletions
diff --git a/dev-lang/nhc98/nhc98-1.16.ebuild b/dev-lang/nhc98/nhc98-1.16.ebuild
index ce39ef3c59cd..c37b5b35f4b1 100644
--- a/dev-lang/nhc98/nhc98-1.16.ebuild
+++ b/dev-lang/nhc98/nhc98-1.16.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/nhc98/nhc98-1.16.ebuild,v 1.1 2003/04/10 08:59:59 george Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/nhc98/nhc98-1.16.ebuild,v 1.2 2003/04/10 23:20:56 george Exp $
IUSE="readline"
@@ -13,7 +13,7 @@ HOMEPAGE="http://www.cs.york.ac.uk/fp/nhc98/"
SLOT="0"
LICENSE="nhc98"
-KEYWORDS="~x86 ~sparc "
+KEYWORDS="x86 ~sparc "
DEPEND="virtual/glibc
readline? ( >=readline-4.1 )"
@@ -59,10 +59,16 @@ src_install () {
${D}/usr/lib/hmake/${MACHINE}/hmakerc \
default /usr/bin/nhc98
# remove temporary build version of nhc98 from config
- ${D}/usr/bin/hmake-config \
+ ${D}/usr/bin/hmake-config \
${D}/usr/lib/hmake/${MACHINE}/hmakerc \
delete ${S}/script/nhc98
+ #need to adjust paths in hmakerc
+ cd ${D}/usr/lib/hmake/${MACHINE}
+ mv hmakerc hmakerc.orig
+ sed -e "s:${S}/script/::" -e "s:${S}/include:/usr/include:" hmakerc.orig > hmakerc
+
+ cd ${S}
#install docs and man pages manually
dodoc README INSTALL COPYRIGHT
doman man/*