From bde865c33228e039ebe70c455ee1e6a2ef468dd7 Mon Sep 17 00:00:00 2001 From: Dirk Meyer Date: Tue, 17 Feb 2004 11:04:19 +0000 Subject: - use PTHREAD_CFLAGS and PTHREAD_LIBS everywhere - drop -lc --- net-im/licq/Makefile | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'net-im') diff --git a/net-im/licq/Makefile b/net-im/licq/Makefile index 2eaf32525253..1def0e68e878 100644 --- a/net-im/licq/Makefile +++ b/net-im/licq/Makefile @@ -7,7 +7,7 @@ PORTNAME= base PORTVERSION= ${LICQ_VER} -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net .if defined(WITH_SOCKS) PKGNAMESUFFIX= -socks @@ -46,17 +46,15 @@ pre-configure: ${WRKSRC}/src/licq.conf.h @${ECHO_MSG} Ignoring existing libgnugetopt ${REINPLACE_CMD} -e 's=getopt.h==' \ + -e 's=FLAGS -D_THREAD_SAFE=FLAGS ${PTHREAD_CFLAGS}=' \ -e 's=FLAGS -pthread=FLAGS ${PTHREAD_CFLAGS}=' \ + -e "s=-lc_r=${PTHREAD_LIBS}=" \ + -e 's=-lc *$$LIBS=$$LIBS=' \ ${WRKSRC}/configure post-install: @${CAT} ${PKGMESSAGE} .include - -.if ${OSVERSION} >= 502102 -FORBIDDEN= "Does not respect PTHREAD_{CFLAGS,LIBS}" -.endif - .include "${LICQ_PORT}/Makefile.inc" .include -- cgit v1.2.3