Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Aug 2001 14:57:19 -0400 (EDT)
From:      Patrick Li <pat@databits.net>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        jim@freebsd.org, eculp@EnContacto.Net
Subject:   ports/30000: Fix net/everybuddy
Message-ID:  <200108231857.f7NIvJw59600@cc92687-a.wlgrv1.pa.home.com>

next in thread | raw e-mail | index | archive | help

>Number:         30000
>Category:       ports
>Synopsis:       Fix net/everybuddy
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 23 12:00:04 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Patrick Li
>Release:        FreeBSD 4.4-RC i386
>Organization:
N/A
>Environment:
System: FreeBSD bottlenek 4.4-RC FreeBSD 4.4-RC #0: Wed Aug 22 12:13:02 EDT 2001 pat@bottlenek:/usr/src/sys/compile/BOTTLENEK i386
>Description:
- Improve pre-patch
- Add PTHREAD_CFLAGS

This will hopefully fix Edwin Culp's problem
described in ports mailing list few seconds ago.
>How-To-Repeat:
N/A
>Fix:
Index: everybuddy/Makefile
===================================================================
RCS file: /home/ncvs/ports/net/everybuddy/Makefile,v
retrieving revision 1.13
diff -u -r1.13 Makefile
--- everybuddy/Makefile	2001/07/01 22:25:57	1.13
+++ everybuddy/Makefile	2001/08/23 18:53:48
@@ -17,10 +17,13 @@
 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 <bsd.port.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200108231857.f7NIvJw59600>