This patch makes x11/kde4/libs build reliably again. The probably is likely deep inside our compiler but I'm not the one who'll be able to fix this bug. And we need to have reliable builds of kdelibs anyway, it's too critical to "wait until it gets fixed".
This could probably fix the build/package bug in x11/kde4/l10n/pt, too. But since I still can't reproduce it, I'm not sure. Asking for bulk build tests. -- WBR, Vadim Zhukov Index: Makefile =================================================================== RCS file: /cvs/ports/devel/cmake/Makefile,v retrieving revision 1.101 diff -u -p -r1.101 Makefile --- Makefile 13 May 2014 05:55:30 -0000 1.101 +++ Makefile 16 May 2014 16:33:07 -0000 @@ -2,16 +2,19 @@ DPB_PROPERTIES =parallel -# avoid segfaults from binaries compiled and then used during the build .if ${MACHINE_ARCH} == "arm" +# avoid segfaults from binaries compiled and then used during the build CFLAGS += -O1 -fno-stack-protector +.else +# -O2 breaks at least x11/kde4/libs +CFLAGS += -O1 .endif HOMEPAGE = http://www.cmake.org/ CATEGORIES = devel COMMENT = portable build system DISTNAME = cmake-2.8.12.2 -REVISION = 3 +REVISION = 4 MASTER_SITES = ${HOMEPAGE}files/v2.8/ MAINTAINER = David Coppa <dco...@openbsd.org>