aboutsummaryrefslogtreecommitdiffstats
path: root/net-im
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2007-04-12 07:07:41 +0800
committersobomax <sobomax@FreeBSD.org>2007-04-12 07:07:41 +0800
commitab18a6e546ed0255cc3e99a457bf59320c9e0e08 (patch)
tree52b1bd6e6feb57f086b3f9de7b74e7f226948674 /net-im
parentca7dee1775a8ac16dd7a63fb353cebed55125a60 (diff)
downloadfreebsd-ports-gnome-ab18a6e546ed0255cc3e99a457bf59320c9e0e08.tar.gz
freebsd-ports-gnome-ab18a6e546ed0255cc3e99a457bf59320c9e0e08.tar.zst
freebsd-ports-gnome-ab18a6e546ed0255cc3e99a457bf59320c9e0e08.zip
On amd64 forcefully compile with -O0, since otherwise centericq segfaults
in some places. It looks like optimization bug.
Diffstat (limited to 'net-im')
-rw-r--r--net-im/centericq/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/net-im/centericq/Makefile b/net-im/centericq/Makefile
index b25450b7134d..eb3a7bd36edd 100644
--- a/net-im/centericq/Makefile
+++ b/net-im/centericq/Makefile
@@ -8,7 +8,7 @@
PORTNAME= centericq
PORTVERSION= 4.21.0
-PORTREVISION= 7
+PORTREVISION= 8
CATEGORIES= net-im
MASTER_SITES= http://centericq.de/archive/source/releases/ \
http://thekonst.net/download/
@@ -45,6 +45,11 @@ PORTDOCS= FAQ README
.include <bsd.port.pre.mk>
+.if ${ARCH} == "amd64"
+# Don't use optimization since it sefgaults in some cases otherwise.
+CFLAGS:= ${CFLAGS:C/-O[0123456789]*/-O0/}
+.endif
+
.if defined(WITHOUT_NLS)
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "