aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/centericq/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net-im/centericq/Makefile')
-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 "