summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchim Gottinger <achim@gentoo.org>2001-05-09 03:19:44 +0000
committerAchim Gottinger <achim@gentoo.org>2001-05-09 03:19:44 +0000
commit132677243095d10da5cef80c54cfbaac688ef869 (patch)
treebb99a936dc19820a05d82fc876c18399f73f2b2e /sys-apps/yard
parent*** empty log message *** (diff)
downloadhistorical-132677243095d10da5cef80c54cfbaac688ef869.tar.gz
historical-132677243095d10da5cef80c54cfbaac688ef869.tar.bz2
historical-132677243095d10da5cef80c54cfbaac688ef869.zip
Small fixes
Diffstat (limited to 'sys-apps/yard')
-rwxr-xr-xsys-apps/yard/files/configure14
-rw-r--r--sys-apps/yard/files/digest-yard-2.0-r11
-rw-r--r--sys-apps/yard/yard-2.0-r1.ebuild7
3 files changed, 10 insertions, 12 deletions
diff --git a/sys-apps/yard/files/configure b/sys-apps/yard/files/configure
index 1794c1be7143..e3aef9f56eb0 100755
--- a/sys-apps/yard/files/configure
+++ b/sys-apps/yard/files/configure
@@ -18,7 +18,7 @@ $lib_dest = "lib/yard";
$config_dest = "etc/yard";
# Destination for documentation files (in Doc subdirectory)
-$doc_dest = "share/doc/yard-${yard_version}";
+$doc_dest = "usr/doc/yard-${yard_version}";
##############################################################################
@@ -41,9 +41,9 @@ my($arch_iX86) = $archname =~ /^i\d86-/;
# These are to test for old bugs. Probably unnecessary, but may as
# well keep them.
-test_cp();
-test_lstat();
-test_ldconfig();
+#test_cp();
+#test_lstat();
+#test_ldconfig();
##############################################################################
# Convert all paths to use PREFIX
@@ -57,7 +57,7 @@ print "PREFIX = \"$PREFIX\"\n";
# Prepend PREFIX onto all of these
$scripts_dest = "$PREFIX/$scripts_dest";
-$config_dest = "/$config_dest";
+$config_dest = "$PREFIX/$config_dest";
$lib_dest = "$PREFIX/$lib_dest";
$doc_dest = "$PREFIX/$doc_dest";
@@ -274,11 +274,11 @@ sub test_ldconfig {
print "ERROR, cannot execute ldconfig. Please put it in your path.\n";
exit;
- } elsif (($CHILD_ERROR ) != 0) {
+ } elsif (($CHILD_ERROR >> 8) != 128) {
print "ERROR, trouble with ldconfig. Maybe it's very old?\n";
exit;
- } elsif ($ldconfig_help =~ /\-r\sROOT/m) {
+ } elsif ($ldconfig_help =~ /\-r\sroot/m) {
print "Your ldconfig accepts a -r option -- good.\n";
} else {
diff --git a/sys-apps/yard/files/digest-yard-2.0-r1 b/sys-apps/yard/files/digest-yard-2.0-r1
index 41f5511082f8..146a2f6e9d03 100644
--- a/sys-apps/yard/files/digest-yard-2.0-r1
+++ b/sys-apps/yard/files/digest-yard-2.0-r1
@@ -1 +1,2 @@
MD5 c2d115e0a12945b6057a30e2c47532ae yard-2.0.tar.gz
+MD5 a60d928b6c0e40cc62233e27313506e0 diet-utils.tar.bz2
diff --git a/sys-apps/yard/yard-2.0-r1.ebuild b/sys-apps/yard/yard-2.0-r1.ebuild
index 31c653cbf81c..5e87213cca13 100644
--- a/sys-apps/yard/yard-2.0-r1.ebuild
+++ b/sys-apps/yard/yard-2.0-r1.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Achim Gottinger <achim@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/yard/yard-2.0-r1.ebuild,v 1.4 2001/05/09 02:56:13 achim Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/yard/yard-2.0-r1.ebuild,v 1.5 2001/05/09 03:19:44 achim Exp $
A="${P}.tar.gz diet-utils.tar.bz2"
S=${WORKDIR}/${P}
@@ -11,7 +11,7 @@ SRC_URI="http://www.croftj.net/~fawcett/yard/${P}.tar.gz"
HOMEPAGE="http://www.croftj.net/~fawcett/yard/"
src_unpack() {
- unpack ${A}
+ unpack ${P}.tar.gz
cd ${S}
cp ${FILESDIR}/configure .
cp Makefile.in Makefile.in.orig
@@ -20,9 +20,6 @@ src_unpack() {
patch -p0 < ${FILESDIR}/${P}-extras-Makefile.in-gentoo.diff
}
-src_unpack() {
- unpack ${P}.tar.gz
-}
src_compile() {
cd ${S}