From bb3d42fb497bb90f9d948d5576d6e5c506203918 Mon Sep 17 00:00:00 2001 From: sat Date: Wed, 27 Feb 2008 16:12:11 +0000 Subject: - Fix build with pthread-enabled SDL PR: ports/121123 Submitted by: Denis Eremenko --- games/freeciv/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'games') diff --git a/games/freeciv/Makefile b/games/freeciv/Makefile index d1cadbda98b5..b0962b1b9040 100644 --- a/games/freeciv/Makefile +++ b/games/freeciv/Makefile @@ -55,7 +55,8 @@ CONFLICTS= freeciv-[0-9]* .endif post-patch: - @${REINPLACE_CMD} -e '/test.*==/s|==|=|' ${WRKSRC}/configure + @${REINPLACE_CMD} -e '/test.*==/s|==|=|;\ + /^LIBS/s|mixer|mixer $$SDL_LIBS|g' ${WRKSRC}/configure @${FIND} ${WRKSRC} -name Makefile.in|${XARGS} ${REINPLACE_CMD} -e\ '/pkgdatadir/s|$$[(]datadir[)]/@PACKAGE@|${DATADIR}|' -- cgit