diff options
author | sobomax <sobomax@FreeBSD.org> | 2001-04-06 16:48:04 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2001-04-06 16:48:04 +0800 |
commit | 6c4c1ede9c65a08b98f093bbcbc06b783241ca39 (patch) | |
tree | 10e8572d0560ac50da88a511df1d741271d2ab67 /graphics/smpeg-xmms | |
parent | 1919436b73cc7150e53cbb62936b1dc696445f2d (diff) | |
download | freebsd-ports-gnome-6c4c1ede9c65a08b98f093bbcbc06b783241ca39.tar.gz freebsd-ports-gnome-6c4c1ede9c65a08b98f093bbcbc06b783241ca39.tar.zst freebsd-ports-gnome-6c4c1ede9c65a08b98f093bbcbc06b783241ca39.zip |
Move regex pthread tweak from pre-patch to post-patch to avoid breakage on
4-*.
Prompted by: will
Diffstat (limited to 'graphics/smpeg-xmms')
-rw-r--r-- | graphics/smpeg-xmms/Makefile | 2 | ||||
-rw-r--r-- | graphics/smpeg-xmms/files/patch-configure | 4 |
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" |