Bug 131271 - Problem while emerge dev-lang/icon-9.4.3-r2
Bug#: 131271 Product:  Gentoo/Alt Version: unspecified Platform: All
OS/Version: Other Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: osx@gentoo.org Reported By: dirk.schoenberger@freenet.de
Component: Mac OSX
URL: 
Summary: Problem while emerge dev-lang/icon-9.4.3-r2
Keywords:  
Status Whiteboard: 
Opened: 2006-04-25 14:33 0000
Description:   Opened: 2006-04-25 14:33 0000
While trying to emerge icon 9.4.3-r2 I ran into the following problem

:
: To configure Icon, run either
:
:       make Configure name=xxxx     [for no graphics]
: or    make X-Configure name=xxxx   [with X-Windows graphics]
:
: where xxxx is one of
:
aix             cygwin          hurd            linux           posix          
solaris_sunc
bsd             hpux            irix            macintosh       solaris        
tru64
:
make: *** [config/ppc_macos/status] Error 1


Looks like the ebuild doesn't give the correct platform for OSX

My emerge info

Portage 2.1_pre3-r1 (default-darwin/macos/10.4, gcc-4.0.0, libsystem-7.1-r0,
8.6.0 Power Macintosh)
=================================================================
System uname: 8.6.0 Power Macintosh powerpc
macos-20041118
distcc 2.0.1-zeroconf powerpc-apple-darwin7.0 (protocol 1) (default port 3632)
[disabled]
dev-lang/python:     [Not Present]
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  [Not Present]
sys-devel/automake:  [Not Present]
sys-devel/binutils:  [Not Present]
sys-devel/libtool:   [Not Present]
virtual/os-headers:  7.1
ACCEPT_KEYWORDS="ppc-macos"
AUTOCLEAN="yes"
CBUILD="powerpc-apple-darwin8"
CFLAGS="-O2 -pipe"
CHOST="powerpc-apple-darwin8"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/texmf/web2c
/etc/env.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig collision-protect distlocks sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/local"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="ppc aalib audiofile emboss exif expat ffcall ffmpeg gdbm gif gmp
imagemagick jpeg lcms libwww lua mhash mng nls ogg opengl pcre png ppc-macos qt
recode sdl slang svg tetex tiff truetype vorbis elibc_Darwin kernel_Darwin
userland_Darwin"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS

------- Comment #1 From Cheyenne Wills 2006-05-10 22:07:17 0000 -------
It looks like arizona moved the ppc_macos to just macintosh, therefore the
"mytarget" statement in the ebuild should be:

if use ppc-macos; then
     mytarget="macintosh"
else 
...

also you might want to just read the status file in the config/macintosh for
any comments

------- Comment #2 From Fabian Groffen 2006-05-11 10:29:21 0000 -------
Cheyenne: thanks!

Committed the fix in CVS.