forked from Lainports/freebsd-ports
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
40 lines
1.1 KiB
Makefile
40 lines
1.1 KiB
Makefile
# Created by: ports@c0decafe.net
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= pidgin
|
|
PORTVERSION= 3.1
|
|
PORTREVISION= 4
|
|
CATEGORIES= security
|
|
MASTER_SITES= SF/${PORTNAME}-encrypt/Releases/${PORTVERSION}
|
|
PKGNAMESUFFIX= -encryption
|
|
DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION}
|
|
|
|
MAINTAINER= perlfu@gmail.com
|
|
COMMENT= Encryption Plugin for the Pidgin instant messenger client
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/bin/pidgin:net-im/pidgin
|
|
RUN_DEPENDS= ${LOCALBASE}/bin/pidgin:net-im/pidgin
|
|
LIB_DEPENDS= libpurple.so:net-im/libpurple \
|
|
libnss3.so:security/nss
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --disable-static \
|
|
--with-nspr-includes=${LOCALBASE}/include/nspr \
|
|
--with-nspr-libs=${LOCALBASE}/lib \
|
|
--with-nss-includes=${LOCALBASE}/include/nss/nss \
|
|
--with-nss-libs=${LOCALBASE}/lib/nss
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LIBS+= -L${LOCALBASE}/lib
|
|
INSTALL_TARGET= install-strip
|
|
USES= gettext gmake libtool pkgconfig
|
|
USE_GNOME= gtk20
|
|
|
|
OPTIONS_DEFINE= NLS
|
|
OPTIONS_SUB= yes
|
|
NLS_CONFIGURE_ENABLE= nls
|
|
NLS_USES= gettext
|
|
|
|
post-extract:
|
|
@${REINPLACE_CMD} -e 's|glib/.*\.h"|glib.h"|g' ${WRKSRC}/rsa_nss.c
|
|
|
|
.include <bsd.port.mk>
|