From b4e2f726dc5cc0b5e149db17fecde86fbb32215e Mon Sep 17 00:00:00 2001 From: Alexey Zelkin Date: Fri, 24 Dec 2004 07:16:12 +0000 Subject: Respect PTHREAD_LIBS by default PR: ports/62919 Submitted by: Craig Rodrigues --- misc/posixtestsuite/Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/misc/posixtestsuite/Makefile b/misc/posixtestsuite/Makefile index 94d729f72452..da62512410ea 100644 --- a/misc/posixtestsuite/Makefile +++ b/misc/posixtestsuite/Makefile @@ -10,7 +10,7 @@ PORTVERSION= 1.3.0 PORTREVISION= 1 CATEGORIES= misc MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} -MASTER_SITE_SUBDIR= posixtest +MASTER_SITE_SUBDIR= posixtest MAINTAINER= phantom@FreeBSD.org COMMENT= Open POSIX Test Suite @@ -26,9 +26,9 @@ USE_GMAKE= YES .include .if ${OSVERSION} < 500000 -REGR_LOG= log.run-4stable +REGR_LOG= log.run-4stable .else -REGR_LOG= log.run-5current +REGR_LOG= log.run-5current .endif RUN_RESULT= ${WRKSRC}/run.result @@ -43,7 +43,7 @@ THEPIPE= | tee 2>&1 .if defined(WITH_THRLIB) THRLIB=${WITH_THRLIB} .else -THRLIB= -lpthread +THRLIB= ${PTHREAD_LIBS} .endif pre-everything:: @@ -58,7 +58,7 @@ pre-everything:: @${ECHO} "" @${ECHO} " * QUIET - don't print progress messages while running" @${ECHO} " * WITH_THRLIB - choose thread library to run test against" - @${ECHO} " (NB: by default 'libpthread' is used)" + @${ECHO} " (NB: by default '"${PTHREAD_LIBS}"' is used)" @${ECHO} "" @${ECHO} "Examples:" @${ECHO} "" -- cgit v1.2.3