From e315f50d5c71cafe91ee2db1a2c876f073c80996 Mon Sep 17 00:00:00 2001 From: edwin Date: Sat, 4 Oct 2003 04:53:13 +0000 Subject: pthread fix for audio/openal on -current -pthread doesn't work anymore, this fixes up configure so audio/openal builds. PR: ports/57282 Submitted by: Erik Greenwald --- audio/openal/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'audio/openal') diff --git a/audio/openal/Makefile b/audio/openal/Makefile index 15b7aff592c8..ccf5cc95e473 100644 --- a/audio/openal/Makefile +++ b/audio/openal/Makefile @@ -20,6 +20,10 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/linux GNU_CONFIGURE= yes USE_GMAKE= yes INSTALLS_SHLIB= yes +USE_REINPLACE= yes + +post-patch: + @${REINPLACE_CMD} -e "s/-pthread/${PTHREAD_LIBS}/" ${WRKSRC}/configure pre-install: @${INSTALL_DATA} ${WRKSRC}/doc/openal.info ${PREFIX}/info -- cgit