Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Sep 2003 12:59:15 +0200 (MEST)
From:      Roland Jesse <roland.jesse@gmx.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/57124: Avoid direct use of -pthread in order to compile on -current
Message-ID:  <200309231059.h8NAxF3L010890@arthur.cs.uni-magdeburg.de>
Resent-Message-ID: <200309231100.h8NB0Xf3032266@freefall.freebsd.org>

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

>Number:         57124
>Category:       ports
>Synopsis:       Avoid direct use of -pthread in order to compile on -current
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 23 04:00:33 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Roland Jesse
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
Private
>Environment:
System: FreeBSD 5.1-CURRENT #0: Mon Sep 22 10:51:48 CEST 2003 i386
>Description:
This is just a minor patch in order to use ${PTHREAD_LIBS} instead of hardcoded -pthread.
>How-To-Repeat:
build graphics/Coin on -current.
>Fix:
diff -ruN Coin.orig/Makefile Coin/Makefile
--- Coin.orig/Makefile	Tue Sep 23 12:55:58 2003
+++ Coin/Makefile	Tue Sep 23 11:13:27 2003
@@ -29,5 +29,6 @@
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|DATA install-data-local|DATA|g' ${WRKSRC}/Makefile.in
+	@${REINPLACE_CMD} -e 's|-pthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
 
 .include <bsd.port.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:



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