diff --git a/net-im/pidgin-sipe/Makefile b/net-im/pidgin-sipe/Makefile index b88220ba27ab..152dad878ef4 100644 --- a/net-im/pidgin-sipe/Makefile +++ b/net-im/pidgin-sipe/Makefile @@ -1,60 +1,69 @@ PORTNAME= pidgin-sipe PORTVERSION= 1.24.0 PORTREVISION= 4 CATEGORIES= net-im MASTER_SITES= SF/sipe/sipe/${DISTNAME} MAINTAINER= john.c.prather@gmail.com COMMENT= Plugin for Pidgin to provide LCS/OCS connectivity WWW= https://www.sourceforge.net/projects/sipe LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BROKEN_armv6= fails to compile: cast from 'struct sipe_core_public *' to 'struct sipe_core_private *' increases required alignment from 4 to 8 BROKEN_armv7= fails to compile: cast from 'struct sipe_core_public *' to 'struct sipe_core_private *' increases required alignment from 4 to 8 LIB_DEPENDS= libnss3.so:security/nss \ libpurple.so:net-im/libpurple \ libplds4.so:devel/nspr \ libgstreamer-1.0.so:multimedia/gstreamer1 \ libnice.so:net-im/libnice \ libgmime-2.6.so:mail/gmime26 \ libdbus-1.so:devel/dbus \ libfarstream-0.2.so:net-im/farstream RUN_DEPENDS= pidgin:net-im/pidgin USES= compiler:c11 gmake gnome gstreamer libtool localbase pkgconfig tar:bzip2 ssl USE_GNOME= gtk20 intltool libxml2 USE_LDCONFIG= yes OPTIONS_DEFINE= OCS2005 KRB5 DOCS NLS OPTIONS_SUB= yes OCS2005_DESC= Message timeout for OCS2005 OCS2005_CONFIGURE_ENABLE= ocs2005-message-hack KRB5_DESC= With Kerberos5 KRB5_CONFIGURE_WITH= krb5 NLS_CONFIGURE_ENABLE= nls NLS_USES= gettext CONFIGURE_ARGS= --enable-purple \ --disable-telepathy GNU_CONFIGURE= yes INSTALL_TARGET= install-strip PORTDOCS= AUTHORS ChangeLog HACKING NEWS README TODO CFLAGS+= -Wno-error +.include + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) +USES+= llvm:max=15 +CC= clang${LLVM_VERSION} +CPP= clang-cpp${LLVM_VERSION} +CXX= clang++${LLVM_VERSION} +.endif + post-patch: @${REINPLACE_CMD} 's/LDLAGS/LDFLAGS/' ${WRKSRC}/configure post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for docs in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${docs} ${STAGEDIR}${DOCSDIR} .endfor .include