Bug 176155 - app-emulation/vice-0.2.1 fails to compile
Bug#: 176155 Product:  Gentoo Linux Version: 2006.1 Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: games@gentoo.org Reported By: aballier@gentoo.org
Component: Applications
URL: 
Summary: app-emulation/vice-0.2.1 fails to compile
Keywords:  
Status Whiteboard: 
Opened: 2007-04-26 19:47 0000
Description:   Opened: 2007-04-26 19:47 0000
hehe this one is very nice : 

Making all in x11
make[5]: Entering directory
`/usr/var/tmp/portage/app-emulation/vice-1.21/work/vice-1.21/src/arch/unix/x11'
Makefile:377: *** multiple target patterns.  Stop.
make[5]: Leaving directory
`/usr/var/tmp/portage/app-emulation/vice-1.21/work/vice-1.21/src/arch/unix/x11'


having a closer look at it : 
src/arch/unix/x11/Makefile:377

libx11ui.a: $(libx11ui_a_OBJECTS) $(libx11ui_a_DEPENDENCIES)


and then : 

libx11ui_a_DEPENDENCIES =  vidmode.o dga1.o dga2.o xrandr.o openGL_sync.o
rsync://rsync.europe.gentoo.org/gentoo-portage

in Makefile.am now : 
libx11ui_a_DEPENDENCIES = @FULLSCREEN_DRIVERS@ @SYNC@

hmm I think I know the cause...

in configure.in : 

SYNC="openGL_sync.o $SYNC";

hey, it takes the SYNC variable from environment !


SYNC is defined only here, so changing that line to : 
SYNC="openGL_sync.o";
allowed me to compile

------- Comment #1 From Tristan Heaven 2007-04-26 20:10:35 0000 -------
thanks...