diff options
Diffstat (limited to 'chat-im/jabberd/BUILD')
-rwxr-xr-x | chat-im/jabberd/BUILD | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/chat-im/jabberd/BUILD b/chat-im/jabberd/BUILD index 14e40cc22d..b4a6705a1e 100755 --- a/chat-im/jabberd/BUILD +++ b/chat-im/jabberd/BUILD @@ -1,12 +1,8 @@ create_account "jabber" && - -OPTS="$OPTS $JABBERD_PIPE $JABBERD_ANON $JABBERD_FS $JABBERD_DEBUG\ - $JABBERD_NAD_DEBUG $JABBERD_POOL_DEBUG $JABBERD_DEVELOPER\ - --enable-MIO=$JABBERD_MIO --sysconfdir=${INSTALLROOT}/etc/jabberd" && -if [[ "$JABBERD_SASL" == "cyrus-sasl" ]]; then - OPTS="$OPTS --enable-cyrus --disable-gsasl" -else - OPTS="$OPTS --enable-gsasl --disable-cyrus" -fi +# their configure complains about anything higher than -O2 but as that might +# not be desired in all cases just removing it completly +CFLAGS=${CFLAGS/-O3} && +CFLAGS=${CFLAGS/-Os} && +OPTS="$JABBERD_OPTS --enable-mio=$JABBERD_MIO --with-sasl=${JABBERD_SASL/-sasl} --sysconfdir=${INSTALLROOT}/etc/jabberd $OPTS" && default_build |