From 19019d4dc63206528cc3bca0a87863236473e9b6 Mon Sep 17 00:00:00 2001 From: Mark Guertin Date: Fri, 21 Jun 2002 20:37:31 +0000 Subject: updated arch detect setup --- x11-misc/Xautoconfig/Xautoconfig-0.15.ebuild | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'x11-misc/Xautoconfig') diff --git a/x11-misc/Xautoconfig/Xautoconfig-0.15.ebuild b/x11-misc/Xautoconfig/Xautoconfig-0.15.ebuild index c76668341e7d..b32df76c5630 100644 --- a/x11-misc/Xautoconfig/Xautoconfig-0.15.ebuild +++ b/x11-misc/Xautoconfig/Xautoconfig-0.15.ebuild @@ -1,7 +1,6 @@ -# Copyright 1999-2002 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# Author David Chamberlain -# $Header: /var/cvsroot/gentoo-x86/x11-misc/Xautoconfig/Xautoconfig-0.15.ebuild,v 1.3 2002/05/14 04:01:21 daybird Exp $ +# Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 +or later # Author David Chamberlain # $Header: +/home/cvsroot/gentoo-x86/x11-misc/Xautoconfig/Xautoconfig-0.15.ebuild,v 1.3 2002/05/14 04:01:21 daybird Exp $ S=${WORKDIR}/${P} DESCRIPTION="Xautoconfig is a PPC only config file generator for xfree86" @@ -10,13 +9,14 @@ HOMEPAGE="http://ftp.penguinppc.org/projects/xautocfg/" DEPEND="sys-apps/pciutils" -if [ ${ARCH} != ppc ] -then - die "This is a PPC-only package" -fi - src_unpack() { + if [ ${ARCH} != ppc ] + then + die "This is a PPC-only package" + fi + + unpack ${A} cd ${S} patch -p1 < ${FILESDIR}/Xautoconfig-0.15.diff || die -- cgit v1.2.3-65-gdbad