summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-06-12 20:29:07 +0000
committerMike Frysinger <vapier@gentoo.org>2005-06-12 20:29:07 +0000
commit225b02d7c42aa10f6ad370fbd29ce2cdd90da9fa (patch)
treeaf1a47686d3fd898fcb4fec7355ec4d254a6ebf8 /sys-apps/mii-diag
parentAdd missing Manifest (diff)
downloadgentoo-2-225b02d7c42aa10f6ad370fbd29ce2cdd90da9fa.tar.gz
gentoo-2-225b02d7c42aa10f6ad370fbd29ce2cdd90da9fa.tar.bz2
gentoo-2-225b02d7c42aa10f6ad370fbd29ce2cdd90da9fa.zip
fix HOMEPAGE #95880 by ph, stabilize, and touchup syntax
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'sys-apps/mii-diag')
-rw-r--r--sys-apps/mii-diag/mii-diag-2.09.ebuild18
1 files changed, 9 insertions, 9 deletions
diff --git a/sys-apps/mii-diag/mii-diag-2.09.ebuild b/sys-apps/mii-diag/mii-diag-2.09.ebuild
index 98744bf50d6a..0c8a5f202439 100644
--- a/sys-apps/mii-diag/mii-diag-2.09.ebuild
+++ b/sys-apps/mii-diag/mii-diag-2.09.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/mii-diag/mii-diag-2.09.ebuild,v 1.7 2005/04/27 06:32:31 wormo Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/mii-diag/mii-diag-2.09.ebuild,v 1.8 2005/06/12 20:29:07 vapier Exp $
inherit eutils toolchain-funcs
@@ -8,7 +8,7 @@ MIIVER=${PV}
LIBVER=2.10
DESCRIPTION="MII link status report and diagnostics"
-HOMEPAGE="http://www.scyld.com/diag/"
+HOMEPAGE="http://www.scyld.com/ethercard_diag.html"
# Files below are small and unversioned so I put them in the files dir
# with version suffixes.
SRC_URI="" # ftp://ftp.scyld.com/pub/diag/mii-diag.c
@@ -16,7 +16,7 @@ SRC_URI="" # ftp://ftp.scyld.com/pub/diag/mii-diag.c
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~x86 ~sparc ~mips ~ppc"
+KEYWORDS="alpha amd64 ~mips ~ppc ~sparc x86"
IUSE=""
DEPEND=""
@@ -24,16 +24,16 @@ DEPEND=""
S=${WORKDIR}
src_unpack() {
- cp ${FILESDIR}/mii-diag.c-${MIIVER} mii-diag.c || die "mii-diag.c"
- cp ${FILESDIR}/libmii.c-${LIBVER} libmii.c || die "libmii.c"
- epatch ${FILESDIR}/mii-diag.c-${PV}-gcc33.patch
+ cp "${FILESDIR}"/mii-diag.c-${MIIVER} mii-diag.c || die "mii-diag.c"
+ cp "${FILESDIR}"/libmii.c-${LIBVER} libmii.c || die "libmii.c"
+ epatch "${FILESDIR}"/mii-diag.c-${PV}-gcc33.patch
}
src_compile() {
# Don't change -O below, it is a requirement for building these
- # programs. See http://www.scyld.com/diag/#compiling
- $(tc-getCC) -O -c libmii.c || die
- $(tc-getCC) -O -DLIBMII mii-diag.c libmii.o -o mii-diag || die
+ # programs. See http://www.scyld.com/ethercard_diag.html#compiling
+ $(tc-getCC) -O ${LDFLAGS} -c libmii.c || die
+ $(tc-getCC) -O ${LDFLAGS} -DLIBMII mii-diag.c libmii.o -o mii-diag || die
}
src_install() {