summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Wever <weeve@gentoo.org>2004-02-21 23:30:05 +0000
committerJason Wever <weeve@gentoo.org>2004-02-21 23:30:05 +0000
commitebf44117994cede31b4d57e9906d81275487827d (patch)
treee2e395a45f393dca2ded6d57fae082255b827caa /sys-apps/acl/acl-2.2.13-r2.ebuild
parentamd64 (Manifest recommit) (diff)
downloadgentoo-2-ebf44117994cede31b4d57e9906d81275487827d.tar.gz
gentoo-2-ebf44117994cede31b4d57e9906d81275487827d.tar.bz2
gentoo-2-ebf44117994cede31b4d57e9906d81275487827d.zip
Changed sparc fix so now it's an actual fix rather than a workaround.
Diffstat (limited to 'sys-apps/acl/acl-2.2.13-r2.ebuild')
-rw-r--r--sys-apps/acl/acl-2.2.13-r2.ebuild10
1 files changed, 3 insertions, 7 deletions
diff --git a/sys-apps/acl/acl-2.2.13-r2.ebuild b/sys-apps/acl/acl-2.2.13-r2.ebuild
index 090d006bfc78..4b9bdff638e8 100644
--- a/sys-apps/acl/acl-2.2.13-r2.ebuild
+++ b/sys-apps/acl/acl-2.2.13-r2.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/acl/acl-2.2.13-r2.ebuild,v 1.3 2003/12/04 22:18:16 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/acl/acl-2.2.13-r2.ebuild,v 1.4 2004/02/21 23:26:09 weeve Exp $
S=${WORKDIR}/${P}
DESCRIPTION="Access control list utilities, libraries and headers"
@@ -19,6 +19,7 @@ DEPEND="${RDEPEND} sys-devel/autoconf"
src_compile() {
OPTIMIZER="${CFLAGS}"
DEBUG=-DNDEBUG
+ [ `use sparc` ] && unset PLATFORM
autoconf || die
@@ -35,11 +36,6 @@ src_compile() {
sed -e 's:^PKG_\(.*\)_DIR = \(.*\)$:PKG_\1_DIR = ${DESTDIR}\2:' \
-e 's:-O1::' -i include/builddefs || die "failed to update builddefs"
- if [ "${ARCH}" = "sparc" ]; then
- sed -i -e 's/sparc.*$/linux/' include/builddefs || \
- die "failed to update builddefs for sparc"
- fi
-
emake || die
}