Index: Makefile =================================================================== RCS file: /home/pcvs/ports/devel/msgpack/Makefile,v retrieving revision 1.5 diff -u -r1.5 Makefile --- Makefile 22 Mar 2010 06:00:34 -0000 1.5 +++ Makefile 25 Mar 2010 08:36:41 -0000 @@ -17,17 +17,19 @@ GNU_CONFIGURE= yes USE_LDCONFIG= yes -USE_GCC= 4.2+ - -.if ${MACHINE_ARCH} == "i386" -# Mayby not working on i386/i486/i586... -CONFIGURE_ARGS= CFLAGS="${CFLAGS} -march=i686" CXXFLAGS="${CXXFLAGS} -march=i686" -.endif .include .if ${ARCH} == "sparc64" -BROKEN= Does not configure on sparc64: sync_* atomic operations are not supported +# required for __sync _* atomic operations on sparc +USE_GCC= 4.3+ +.else +USE_GCC= 4.2+ +.endif + +.if ${ARCH} == "i386" +# Mayby not working on i386/i486/i586... +CONFIGURE_ARGS= CFLAGS="${CFLAGS} -march=i686" CXXFLAGS="${CXXFLAGS} -march=i686" .endif .include