mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-11 07:22:22 +00:00
Move regex pthread tweak from pre-patch to post-patch to avoid breakage on
4-*. Prompted by: will
This commit is contained in:
parent
c884e75af5
commit
0516cc2ece
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=40931
@ -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
|
||||
|
||||
|
@ -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"
|
||||
|
@ -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
|
||||
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user