Skip site navigation (1)Skip section navigation (2)
Date:      27 Sep 2003 13:33:13 -0000
From:      Erik Greenwald <erik@smluc.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        erik@math.smsu.edu
Subject:   ports/57282: pthread fix for audio/openal on -current
Message-ID:  <20030927133313.4600.qmail@phoenix.smluc.org>
Resent-Message-ID: <200309271340.h8RDeI6X073711@freefall.freebsd.org>

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

>Number:         57282
>Category:       ports
>Synopsis:       pthread fix for audio/openal on -current
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Sep 27 06:40:17 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Erik Greenwald
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
>Environment:
System: FreeBSD fenris 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Fri Sep 19 19:23:15 CDT 2003 root@fenris:/usr/obj/usr/src/sys/FENRIS i386


>Description:
*grump*
-pthread doesn't work anymore, this fixes up configure so audio/openal builds.

>How-To-Repeat:
>Fix:


--- openal.patch begins here ---
diff -Nurb audio/openal.orig/Makefile audio/openal/Makefile
--- audio/openal.orig/Makefile	Sat Sep 27 08:19:16 2003
+++ audio/openal/Makefile	Sat Sep 27 08:23:39 2003
@@ -21,6 +21,11 @@
 USE_GMAKE=	yes
 INSTALLS_SHLIB=	yes
 
+USE_REINPLACE=	yes
+
+pre-configure:
+	@${REINPLACE_CMD} -e "s/-pthread/${PTHREAD_LIBS}/" ${WRKSRC}/configure
+
 pre-install:
 	@${INSTALL_DATA} ${WRKSRC}/doc/openal.info ${PREFIX}/info
 	@install-info ${PREFIX}/info/openal.info ${PREFIX}/info/dir
--- openal.patch ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



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