1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/net/ldapsdk/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

35 lines
781 B
Makefile

# Created by: paul@FreeBSD.org
# $FreeBSD$
PORTNAME= ldapsdk
PORTVERSION= 6.0.7
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= net
MASTER_SITES= MOZILLA/directory/c-sdk/releases/v${PORTVERSION}/src
DISTNAME= mozldap-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Mozilla LDAP sdk
LIB_DEPENDS= libnspr4.so:devel/nspr
WRKSRC= ${WRKDIR}/${DISTNAME}/c-sdk
USES= perl5 gmake
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-optimize \
--with-dist-prefix=${WRKDIR}/fakeroot \
--with-nspr-inc=${LOCALBASE}/include/nspr \
--with-nspr-lib=${LOCALBASE}/lib
post-extract:
@${MKDIR} ${WRKDIR}/fakeroot
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/mozilla/directory
@(cd ${WRKDIR}/fakeroot \
&& ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/mozilla/directory)
.include <bsd.port.mk>