From 6f296a1444e8e0adec63ccb6ba7f3d5fb31aeed3 Mon Sep 17 00:00:00 2001 From: dinoex Date: Thu, 2 Oct 2003 05:36:59 +0000 Subject: - force use of PTHREAD_LIBS --- net-im/licq/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'net-im/licq') diff --git a/net-im/licq/Makefile b/net-im/licq/Makefile index 9fc536e375c8..aea446e3df5d 100644 --- a/net-im/licq/Makefile +++ b/net-im/licq/Makefile @@ -25,12 +25,13 @@ LICQ_PORT?= ${.CURDIR} # workaround for installed autoconf/automake CONFIGURE_ARGS+=--program-transform-name=s,y,y, +CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}" +LDFLAGS+= ${PTHREAD_LIBS} .if defined(WITH_SOCKS) CONFIGURE_ARGS+=--enable-socks5 CONFIGURE_ARGS+=--with-socks5-inc=${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}" .endif .if !defined(WITHOUT_OPENSSL) @@ -46,7 +47,6 @@ pre-configure: ${REINPLACE_CMD} -e 's=getopt.h==' \ -e 's=FLAGS -pthread=FLAGS ${PTHREAD_CFLAGS}=' \ ${WRKSRC}/configure - ${CHMOD} +x ${WRKSRC}/configure post-install: @${CAT} ${PKGMESSAGE} -- cgit