1
0
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:
Maxim Sobolev 2001-04-06 08:48:04 +00:00
parent c884e75af5
commit 0516cc2ece
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=40931
4 changed files with 6 additions and 6 deletions

View File

@ -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

View File

@ -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"

View File

@ -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

View File

@ -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"