From 10bc277d116e0f5fe6e4cd2fed2d54ebc20ac9bb Mon Sep 17 00:00:00 2001 From: kwm Date: Sat, 4 Feb 2012 20:35:54 +0000 Subject: Build gnome-shell with -O1. -O2 makes it crashy. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@16679 df743ca5-7f9a-e211-a948-0013205c9059 --- x11/gnome-shell/Makefile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'x11') diff --git a/x11/gnome-shell/Makefile b/x11/gnome-shell/Makefile index 638960f84..cfda92579 100644 --- a/x11/gnome-shell/Makefile +++ b/x11/gnome-shell/Makefile @@ -3,7 +3,7 @@ # Whom: Pawel Worach # # $FreeBSD$ -# $MCom: ports/x11/gnome-shell/Makefile,v 1.48 2012/01/28 00:34:01 ahze Exp $ +# $MCom: ports/x11/gnome-shell/Makefile,v 1.49 2012/01/30 14:31:33 kwm Exp $ # PORTNAME= gnome-shell @@ -47,14 +47,15 @@ MAN1= gnome-shell.1 CONFIGURE_ARGS+=--enable-compile-warnings=no \ --with-ca-certificates=${LOCALBASE}/share/certs/ca-root-nss.crt -CONFIGURE_ENV= CPPFLAGS="-I${LOCALASE}/include" \ - LDFLAGS="-L${LOCALBASE}/lib" +CPPFLAGS+= -I${LOCALASE}/include +LDFLAGS+= -L${LOCALBASE}/lib + +# don't use -O2 in CFLAGS it makes gnome-shell unhappy (aka crashing) +CFLAGS= -O1 -pipe -fno-strict-aliasing post-patch: @${REINPLACE_CMD} -e 's|applications.menu|gnome-applications.menu|g' \ ${WRKSRC}/src/shell-app-system.c - @${REINPLACE_CMD} -e 's|libnm-glib libnm-util ||g' \ - ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|UBDIRS = data js src browser-plugin|UBDIRS = data js src|g' \ ${WRKSRC}/Makefile.in -- cgit v1.2.3