summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-fs/devfsd/devfsd-1.3.25-r8.ebuild')
-rw-r--r--sys-fs/devfsd/devfsd-1.3.25-r8.ebuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys-fs/devfsd/devfsd-1.3.25-r8.ebuild b/sys-fs/devfsd/devfsd-1.3.25-r8.ebuild
index 7a7f1e628c68..1c73c085844a 100644
--- a/sys-fs/devfsd/devfsd-1.3.25-r8.ebuild
+++ b/sys-fs/devfsd/devfsd-1.3.25-r8.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/devfsd/devfsd-1.3.25-r8.ebuild,v 1.11 2004/11/15 19:10:22 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/devfsd/devfsd-1.3.25-r8.ebuild,v 1.12 2004/12/04 02:46:42 vapier Exp $
inherit eutils flag-o-matic
@@ -24,10 +24,12 @@ src_unpack() {
cd ${S}
epatch ${FILESDIR}/${P}-kernel-2.5.patch
epatch ${FILESDIR}/${P}-pic.patch
- use uclibc && epatch ${FILESDIR}/${P}-no-nis.patch
+ epatch ${FILESDIR}/${P}-no-nis.patch
+ use uclibc || append-flags -DHAVE_NIS
sed -e "s:-O2:${CFLAGS}:g" \
-e 's:/usr/man:/usr/share/man:' \
+ -e 's:/usr/src/linux:.:' \
-e '32,34d;11,16d' -e '6c\' \
-e 'DEFINES := -DLIBNSL="\\"/lib/libnsl.so.1\\""' \
-i GNUmakefile