aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/smpeg-xmms
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/smpeg-xmms')
-rw-r--r--graphics/smpeg-xmms/Makefile2
-rw-r--r--graphics/smpeg-xmms/files/patch-configure4
2 files changed, 3 insertions, 3 deletions
diff --git a/graphics/smpeg-xmms/Makefile b/graphics/smpeg-xmms/Makefile
index 081d865c02f0..e81c7cd6b40c 100644
--- a/graphics/smpeg-xmms/Makefile
+++ b/graphics/smpeg-xmms/Makefile
@@ -24,7 +24,7 @@ CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}" \
CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
-pre-patch:
+post-patch:
@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
diff --git a/graphics/smpeg-xmms/files/patch-configure b/graphics/smpeg-xmms/files/patch-configure
index aacfc9393d4d..c4372e071456 100644
--- a/graphics/smpeg-xmms/files/patch-configure
+++ b/graphics/smpeg-xmms/files/patch-configure
@@ -16,8 +16,8 @@ $FreeBSD$
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_save_LIBS="$LIBS"
--LIBS="-lSDL "-lc_r" $LIBS"
-+LIBS="-lSDL-1.1 "-lc_r" $LIBS"
+-LIBS="-lSDL -lpthread $LIBS"
++LIBS="-lSDL-1.1 -lpthread $LIBS"
cat > conftest.$ac_ext <<EOF
#line 3028 "configure"
#include "confdefs.h"