DragonFlyBSD / DPorts

The dedicated application build system for DragonFly BSD
Other
89 stars 44 forks source link

x11/pixman doesn't build anymore #12

Closed ftigeot closed 11 years ago

ftigeot commented 11 years ago

Building x11/pixman fails with these errors:

make: "/usr/dports/x11/pixman/Makefile" line 22: Malformed conditional (! ${MACHINE_CPU:Mmmx}) make: "/usr/dports/x11/pixman/Makefile" line 25: Malformed conditional (! ${MACHINE_CPU:Msse2}) make: Fatal errors encountered -- cannot continuemake: "/usr/dports/x11/pixman/Makefile" line 22: Malformed conditional (! ${MACHINE_CPU:Mmmx}) make: "/usr/dports/x11/pixman/Makefile" line 25: Malformed conditional (! ${MACHINE_CPU:Msse2}) make: Fatal errors encountered -- cannot continue

make -V shows the expected MACHINE_CPU variable is not defined

jrmarino commented 11 years ago

It works fine for me.

cd /usr/dports/x11/pixman make -V MACHINE_CPU x86_64 sse2 sse mmx

These are define in /usr/share/mk/bsd.cpu*.mk files, which is pulled in by /usr/share/mk/sys.mk Look for a local problem - remember pixman wouldn't be in dports if it didn't build.

jrmarino commented 11 years ago

This was caused by problem in bsd.cpu.gcc47.mk that showed when gcc47 became primary. fixed: http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a9afbc71954313934461c7129578b1039bc7817b