aboutsummaryrefslogtreecommitdiff
path: root/games/asc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/asc/Makefile')
-rw-r--r--games/asc/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/games/asc/Makefile b/games/asc/Makefile
index ee7cad21895d..8953ba38fd05 100644
--- a/games/asc/Makefile
+++ b/games/asc/Makefile
@@ -35,7 +35,7 @@ CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}" \
DATAFILE= main.con
pre-patch:
- @${PERL} -pi -e 's|-lpthread|-pthread|g' ${WRKSRC}/configure
+ @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
@find ${WRKSRC} \( -name "*.cpp" -or -name "*.h" \) | xargs \
${PERL} -pi -e 's|malloc\.h|stdlib.h|g'