summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJared H.Hudson <jhhudso@gentoo.org>2003-02-25 07:00:48 +0000
committerJared H.Hudson <jhhudso@gentoo.org>2003-02-25 07:00:48 +0000
commitca7fd9d3cc7f24d6c8c0611b2aff56a95d9527d9 (patch)
tree33bb688b7e27f3af259f898623f357b60ad01bb8 /net-misc/nut
parentupdate synce ebuilds to new version; add two new related ebuilds (diff)
downloadhistorical-ca7fd9d3cc7f24d6c8c0611b2aff56a95d9527d9.tar.gz
historical-ca7fd9d3cc7f24d6c8c0611b2aff56a95d9527d9.tar.bz2
historical-ca7fd9d3cc7f24d6c8c0611b2aff56a95d9527d9.zip
I added this ebuild too quickly last night and missed a few things.
Now it should work properly. The changes last night and today add support for a new NUT driver that was not compiled in before. Since this added functionality only affects new users of NUT, I'm not bumping the -r version.
Diffstat (limited to 'net-misc/nut')
-rw-r--r--net-misc/nut/nut-1.2.1-r1.ebuild9
1 files changed, 8 insertions, 1 deletions
diff --git a/net-misc/nut/nut-1.2.1-r1.ebuild b/net-misc/nut/nut-1.2.1-r1.ebuild
index c487d80a7905..6867d290f957 100644
--- a/net-misc/nut/nut-1.2.1-r1.ebuild
+++ b/net-misc/nut/nut-1.2.1-r1.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/net-misc/nut/nut-1.2.1-r1.ebuild,v 1.1 2003/02/24 12:58:48 jhhudso Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/nut/nut-1.2.1-r1.ebuild,v 1.2 2003/02/25 07:00:48 jhhudso Exp $
IUSE="png"
@@ -50,6 +50,13 @@ src_compile() {
--with-linux-hiddev \
--host=${CHOST} ${myconf} || die
+ cp ${S}/drivers/Makefile ${S}/drivers/Makefile.orig
+ sed -e "s:= bestups:= hidups bestups:" ${S}/drivers/Makefile.orig \
+ > ${S}/drivers/Makefile
+ cp ${S}/man/Makefile ${S}/man/Makefile.orig
+ sed -e "s:= powercom.8:= hidups.8 powercom.8:" \
+ ${S}/man/Makefile.orig > ${S}/man/Makefile
+
emake || die
if [ -n "`use png`" ]