Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 109948

Summary: nedit ebuild not working on OS X
Product: Gentoo/Alt Reporter: wbaudler
Component: Mac OSXAssignee: Gentoo for Mac OS X <ppc-macos>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: PPC   
OS: OS X   
Whiteboard:
Package list:
Runtime testing required: ---

Description wbaudler 2005-10-20 13:36:57 UTC
Trying to emerge ebuild. It fails to find libXm installed from Gentoo and it
missed libXmu.
I got it to work with the ebuild src_compile() fixes mentioned below. But those
are almost certainly not clean or correct fixes...

Reproducible: Always
Steps to Reproduce:



Expected Results:  
emerge cleanly

src_compile() {
        sed -i -e "s:-Wl,-Bstatic::" makefiles/Makefile.linux
        sed -i -e "s:0.93.0:0.94.0:" util/check_lin_tif.c
        sed -i -e "s:CFLAGS=-O:CFLAGS=${CFLAGS}:" makefiles/Makefile.linux
        sed -i -e 's:"/bin/csh":"/bin/sh":' source/preferences.c
        sed -i -e "s:MOTIFLINK=\${MOTIFDIR}/lib/libXm.a:MOTIFLINK=/usr/lib/openmo
tif-2.2/libXm.a -lXmu:" makefiles/Makefile.macosx
        make CC=$(tc-getCC) macosx || die
}
Comment 1 wbaudler 2005-10-20 13:39:26 UTC
Trying to emerge nedit, not ebuild. Sorry.
Comment 2 Fabian Groffen gentoo-dev 2008-02-29 20:57:49 UTC
it's in prefix.