1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Pass PTHREAD_CFLAGS/PTHREAD_LIBS to the configure - this should fix the port

on -stable.

Submitted by:	bento
This commit is contained in:
Maxim Sobolev 2001-07-18 12:03:17 +00:00
parent dda149dcce
commit 51c726522f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=45218

View File

@ -22,8 +22,8 @@ SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
USE_GMAKE= yes
USE_LIBTOOL= yes
CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}" \
CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
pre-patch:
@find ${WRKSRC} -name "*.[ch]" | xargs ${PERL} -pi -e 's|<SDL/|<|g'