I tried to emerge wmcalendar and wmcalclock. Both packeges abort with : cc LINUX `pkg-config --libs gtk+-2.0` -o wmCalendar wmCalendar.o settings.o dockapp.o calendarfunc.o calendar.o -o wmCalendar -I/usr/X11R6/include/X11 -I/usr/X11R6/include -Iusr/include -Iusr/local/include-L/usr/lib -L/usr/X11R6/lib -L/usr/local/lib -L/usr/lib -L/usr/X11R6/lib -L/usr/local/lib -lXpm -lical -lpthread gcc: LINUX: No such file or directory make: *** [wmCalendar] Error 1 If I stop emerge right after extracting the package and edit the Makefile it compiles. The Makefile line is: wmCalendar: $(OBJECTS) $(CC) $(COPTS) $(SYSTEM) $(LFLAGS) -o $@ $(OBJECTS) -o wmCalendar $(INCDIR)$(LIBDIR) $(LIBS) I assume a -D is missing before $(SYSYEM). I have to admit that I haven't booted gentoo yet since I'm installing for the first time and I'm compiling in a chroot environment on a Debian system. But I can't imagine that $(SYSTEM) is set to -DLINUX on Gentoo. Or is $SYSYEM unset? Reproducible: Always Steps to Reproduce: 1.emerge wmcalendar 2. 3.
Reassigning to maintainer and fixing Product as well.
On Gentoo SYSTEM is not set (at least on my machine). Anyway, I added some magic sed to filter SYSTEM variable out of both packages Makefile.