From b59a41647f892ba544fbd2e48b6df42f9e3c1559 Mon Sep 17 00:00:00 2001 From: Jim Mock Date: Tue, 28 Aug 2001 08:13:01 +0000 Subject: * Improve pre-patch. * Add PTHREAD_CFLAGS. PR: 30000 Submitted by: Patrick Li --- net/ayttm/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'net/ayttm') diff --git a/net/ayttm/Makefile b/net/ayttm/Makefile index c08f25690ee7..11bdbad5df59 100644 --- a/net/ayttm/Makefile +++ b/net/ayttm/Makefile @@ -17,10 +17,12 @@ USE_X_PREFIX= yes USE_GMAKE= yes USE_GTK= yes GNU_CONFIGURE= yes +CONFIGURE_ENV= CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}" MAN1= everybuddy.1 pre-patch: - @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure + @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS:S/"//g}|g; \ + s|-lpthreads|${PTHREAD_LIBS:S/"//g}|g' ${WRKSRC}/configure .include -- cgit v1.2.3