diff options
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/smpeg-xmms/Makefile | 2 | ||||
-rw-r--r-- | multimedia/xmms/Makefile | 2 | ||||
-rw-r--r-- | multimedia/xmps/Makefile | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/multimedia/smpeg-xmms/Makefile b/multimedia/smpeg-xmms/Makefile index 0fb7cf9a9a66..52b98275fe17 100644 --- a/multimedia/smpeg-xmms/Makefile +++ b/multimedia/smpeg-xmms/Makefile @@ -25,7 +25,7 @@ CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}" \ LDFLAGS="-L${LOCALBASE}/lib" pre-patch: - @${PERL} -pi -e 's|-lpthread|-pthread|g ; \ + @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure post-configure: diff --git a/multimedia/xmms/Makefile b/multimedia/xmms/Makefile index 68b05e2a3ad9..7d0f8c2f98f3 100644 --- a/multimedia/xmms/Makefile +++ b/multimedia/xmms/Makefile @@ -87,7 +87,7 @@ pre-extract: .endif pre-patch: - @${PERL} -pi -e 's^-l(pthread|c_r)^-pthread^g ; \ + @${PERL} -pi -e 's^-l(pthread|c_r)^${PTHREAD_LIBS}^g ; \ s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \ 's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \ diff --git a/multimedia/xmps/Makefile b/multimedia/xmps/Makefile index 36b9123f82d5..8c4339620bb7 100644 --- a/multimedia/xmps/Makefile +++ b/multimedia/xmps/Makefile @@ -25,12 +25,12 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-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\)/aclocal|\$$\(prefix\)/share/aclocal|g ; \ s|\$$\(datadir\)/locale|\$$\(prefix\)/share/locale|g ; \ - s|-lpthread|-pthread|g' + s|-lpthread|${PTHREAD_LIBS}|g' post-configure: @${PERL} -pi -e 's|^deplibs_check_method=.*|deplibs_check_method=pass_all|' \ |