From 4ca0e60800b90ba4a6de31beabeee8ccce611649 Mon Sep 17 00:00:00 2001 From: Maxim Sobolev Date: Thu, 29 Mar 2001 16:35:19 +0000 Subject: -pthread --> ${PTHREAD_LIBS} -D_THREAD_SAFE --> ${PTHREAD_CFLAGS} Note: my first intention was to test this out on bento/beta, but per ade's requiest I opted to do it quickly. --- games/pythoong/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'games/pythoong/Makefile') diff --git a/games/pythoong/Makefile b/games/pythoong/Makefile index 4d188369fe42..ef06f47fa44b 100644 --- a/games/pythoong/Makefile +++ b/games/pythoong/Makefile @@ -25,7 +25,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LIBS="-L${LOCALBASE}/lib" pre-patch: - @${PERL} -pi -e 's|-lpthread|-pthread|g' ${WRKSRC}/configure + @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \ 's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \ s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g' -- cgit v1.2.3