diff options
Diffstat (limited to 'games/ltris/Makefile')
-rw-r--r-- | games/ltris/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/games/ltris/Makefile b/games/ltris/Makefile index 64c3cfd7b531..030810c2f3fa 100644 --- a/games/ltris/Makefile +++ b/games/ltris/Makefile @@ -23,7 +23,7 @@ CONFIGURE_ENV= CPPFLAGS="`${SDL_CONFIG} --cflags`" \ LIBS="`${SDL_CONFIG} --libs` -L${LOCALBASE}/lib -lcompat" pre-patch: - @${PERL} -pi -e 's|-lpthread|-pthread|g' ${WRKSRC}/configure + @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure @find ${WRKSRC} \( -name "*.[ch]" -or -name "*.cpp" \) | \ xargs ${PERL} -pi -e 's|"SDL/SDL|"SDL|g ; s|<SDL/SDL|<SDL|g' |