summaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2012-02-05 04:35:54 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2012-02-05 04:35:54 +0800
commit10bc277d116e0f5fe6e4cd2fed2d54ebc20ac9bb (patch)
treed60b10889d24d2addd59637746faab96966d8f04 /x11
parent0c124aff0306db4a5b2d2421bbb0e0cd0bbaa6e5 (diff)
downloadmarcuscom-ports-10bc277d116e0f5fe6e4cd2fed2d54ebc20ac9bb.tar
marcuscom-ports-10bc277d116e0f5fe6e4cd2fed2d54ebc20ac9bb.tar.gz
marcuscom-ports-10bc277d116e0f5fe6e4cd2fed2d54ebc20ac9bb.tar.bz2
marcuscom-ports-10bc277d116e0f5fe6e4cd2fed2d54ebc20ac9bb.tar.lz
marcuscom-ports-10bc277d116e0f5fe6e4cd2fed2d54ebc20ac9bb.tar.xz
marcuscom-ports-10bc277d116e0f5fe6e4cd2fed2d54ebc20ac9bb.tar.zst
marcuscom-ports-10bc277d116e0f5fe6e4cd2fed2d54ebc20ac9bb.zip
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
Diffstat (limited to 'x11')
-rw-r--r--x11/gnome-shell/Makefile11
1 files changed, 6 insertions, 5 deletions
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 <pawel.worach@gmail.com>
#
# $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