summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Guertin <gerk@gentoo.org>2002-06-08 06:50:18 +0000
committerMark Guertin <gerk@gentoo.org>2002-06-08 06:50:18 +0000
commita72f59729cd1c1c1f4a86b614b4e6ede8c97119e (patch)
treec43526bbe4cc5493b9d896789e36fc57ce25b35d /x11-libs/xforms
parentUpdated to reflect mirror url for ppc src change (diff)
downloadgentoo-2-a72f59729cd1c1c1f4a86b614b4e6ede8c97119e.tar.gz
gentoo-2-a72f59729cd1c1c1f4a86b614b4e6ede8c97119e.tar.bz2
gentoo-2-a72f59729cd1c1c1f4a86b614b4e6ede8c97119e.zip
Final revision, forced to use ppc for now on ppc
Diffstat (limited to 'x11-libs/xforms')
-rw-r--r--x11-libs/xforms/xforms-089-r1.ebuild16
1 files changed, 9 insertions, 7 deletions
diff --git a/x11-libs/xforms/xforms-089-r1.ebuild b/x11-libs/xforms/xforms-089-r1.ebuild
index 5f1c0442fc31..f27d6dd392c4 100644
--- a/x11-libs/xforms/xforms-089-r1.ebuild
+++ b/x11-libs/xforms/xforms-089-r1.ebuild
@@ -1,13 +1,15 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/xforms/xforms-089-r1.ebuild,v 1.2 2002/06/08 06:13:39 gerk Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/xforms/xforms-089-r1.ebuild,v 1.3 2002/06/08 06:50:18 gerk Exp $
-if [ ${ARCH} = "x86" ] ; then
- MY_P="bxform-${PV}-glibc2.1"
- MY_D="linux-i386/elf"
-else
- MY_P="bxform-${PV}-glibc2.1-ppc"
- MY_D="linuxppc"
+MY_P="bxform-${PV}-glibc2.1"
+MY_D="linux-i386/elf"
+
+# for unkown reasons ${ARCH} will just _not_ work here
+# even though it returns "ppc" (as does `arch`)
+if [ `arch` = "ppc" ] ; then
+ MY_D="linuxppc"
+ MY_P=${MY_P}"-ppc"
fi
S=${WORKDIR}/${PN}