diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2001-03-29 16:35:19 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2001-03-29 16:35:19 +0000 |
commit | 4ca0e60800b90ba4a6de31beabeee8ccce611649 (patch) | |
tree | 8324ab31f68eba587c532d238cd3f502d0a56322 /games/ltris | |
parent | 7530f93a62fb8bcd686d08f2bfa5dc0f623f3c73 (diff) | |
download | ports-4ca0e60800b90ba4a6de31beabeee8ccce611649.tar.gz ports-4ca0e60800b90ba4a6de31beabeee8ccce611649.zip |
-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.
Notes
Notes:
svn path=/head/; revision=40539
Diffstat (limited to 'games/ltris')
-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' |