1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/net-im/pidgin-sipe/Makefile
Jan Beich f5f47a5a4e devel/nspr, security/nss: drop version from SONAME
No other downstream appends synthetic library version, and doing so
causes underlinking due to fragile build system (see below). Not to
mention being unable to swap out bundled libs from upstream builds.

  $ cc -lplds4 -L/usr/local/lib
  /usr/lib/crt1.o: In function `_start1':
  crt1_c.c:(.text+0xa6): undefined reference to `main'
  /usr/local/lib/libplds4.so: undefined reference to `pthread_set_name_np'
  /usr/local/lib/libplds4.so: undefined reference to `pthread_create'
  /usr/local/lib/libplds4.so: undefined reference to `pthread_condattr_init'
  /usr/local/lib/libplds4.so: undefined reference to `pthread_setschedparam'
  /usr/local/lib/libplds4.so: undefined reference to `pthread_getschedparam'

PR:		213144
Exp-run by:	antoine
2016-10-09 12:10:02 +00:00

56 lines
1.3 KiB
Makefile

# Created by: John Prather
# $FreeBSD$
PORTNAME= pidgin-sipe
PORTVERSION= 1.21.1
PORTREVISION= 1
CATEGORIES= net-im
MASTER_SITES= SF/sipe/sipe/${DISTNAME}
MAINTAINER= john.c.prather@gmail.com
COMMENT= Plugin for Pidgin to provide LCS/OCS connectivity
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
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
RUN_DEPENDS= pidgin:net-im/pidgin
GNU_CONFIGURE= yes
USES= gmake libtool localbase pkgconfig tar:bzip2 ssl
USE_GNOME= gtk20 intltool libxml2
PORTDOCS= AUTHORS ChangeLog HACKING NEWS README TODO
CONFIGURE_ARGS= --enable-purple \
--disable-telepathy
INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
OPTIONS_DEFINE= OCS2005 KRB5 DOCS NLS
OPTIONS_SUB= yes
OSC2005_DESC= Message timeout for OCS2005
OSC2005_CONFIGURE_ENABLE= ocs2005-message-hack
KRB5_DESC= With Kerberos5
KRB5_CONFIGURE_WITH= krb5
NLS_CONFIGURE_ENABLE= nls
NLS_USES= gettext
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 <bsd.port.mk>