ports/57124: Avoid direct use of -pthread in order to compile on -current

Roland Jesse roland.jesse at gmx.net
Tue Sep 23 11:00:38 UTC 2003


>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:



More information about the freebsd-ports-bugs mailing list