- Fix build with pthread-enabled SDL
PR: ports/121123 Submitted by: Denis Eremenko <moonshade@pnhz.kz>
This commit is contained in:
parent
1cecef067b
commit
5a7753ad19
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=208010
1 changed files with 2 additions and 1 deletions
|
@ -55,7 +55,8 @@ CONFLICTS= freeciv-[0-9]*
|
|||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e '/test.*==/s|==|=|' ${WRKSRC}/configure
|
||||
@${REINPLACE_CMD} -e '/test.*==/s|==|=|;\
|
||||
/^LIBS/s|mixer|mixer $$SDL_LIBS|g' ${WRKSRC}/configure
|
||||
@${FIND} ${WRKSRC} -name Makefile.in|${XARGS} ${REINPLACE_CMD} -e\
|
||||
'/pkgdatadir/s|$$[(]datadir[)]/@PACKAGE@|${DATADIR}|'
|
||||
|
||||
|
|
Loading…
Reference in a new issue